bramses / chatgpt-md

A (nearly) seamless integration of ChatGPT into Obsidian.
MIT License
824 stars 61 forks source link

about the gpt-4 model #74

Open champeil opened 1 year ago

champeil commented 1 year ago

Hello, I updated the gpt-4 model, but when I modify the model option to "model: gpt-4", then I asked "which gpt version", it reply "gpt-3". Am I set the options correctly?

Nintorac commented 1 year ago

It can sometime take a minute to update, you can try to set to something nonsense and see that it fails to build confidence. eg model: champeil. then change to gpt-4 and if it succeeds you can be confident. or ask questions GPT 3.5 doesn't get

champeil commented 1 year ago

image I tried but it still not working. And it still can run as gpt-3 model when I set 'model' as champeil (nonsense value). Are there any details like 'somewhere need to click to save the configuration' I ignored?

Nintorac commented 1 year ago

hmm, not sure about the default front matter.

You may need to reload the window (ctrl+p -> Reload App without Saving)

Otherwise you can specify front matter in a page and hit ctrl + s and try?

eg.

---
model: gpt-4
---
some question
champeil commented 1 year ago

still not work, do you have any configuration examples as reference ?

Nintorac commented 1 year ago

hmm, very strange. example above fails for me (since I dont have access to gpt-4)

What does it say in the console

image

here is what the fail looks like for me

champeil commented 1 year ago

Is the problem a bug or anything else need to fix? Because the performance of GPT-4 is greater than GPT-3 and I want to use GPT-4 in obsidian earlier :)

Nintorac commented 1 year ago

it only fails for me because I dont have access. See the 404. you should see something about gpt-4 in the console

Nintorac commented 1 year ago

@bramses I can repro the behavior described here when trying to set the default frontmatter FWIW

setting via actual frontmatter is a workaround for now @champeil

champeil commented 1 year ago

ok, thanks. Maybe I try other ways to handle the problems :)