srcnalt / OpenAI-Unity

An unofficial OpenAI Unity Package that aims to help you use OpenAI API directly in Unity Game engine.
MIT License
719 stars 162 forks source link

GPT 4 Model #94

Open ezgicett opened 11 months ago

ezgicett commented 11 months ago

I can work with the GPT3 model but when I tried to change to model name to one of the GPT4 models, the project didn't crash and didn't give any auth. error but it says it is a GPT3 model and no idea about GPT4. Is this an issue or just the wrong use? I am new to AI models, so any help is appreciated!

srcnalt commented 11 months ago

Hi Ezgi,

You can find the currently available models in OpenAI API docs here: https://platform.openai.com/docs/guides/text-generation

gpt-4, gpt-4 turbo, gpt-3.5-turbo

ezgicett commented 11 months ago

Hi Sercan,

I checked the docs and only changed the model to GPT4, and in your code in ChatGPT scene, it is already using chat/completions API. So, it should be using the GPT4 model. But when I ask which model it is using, it still says it is GPT3. Is this a problem, or should I test with other functionalities?

srcnalt commented 11 months ago

GPT 4 is only available to Plus users probably, so it defaults to GPT 3 which is free.

MathiasSchjoedt-Bavngaard commented 11 months ago

i have the same problem. And i use a Pro API Key

Qulick-k commented 9 months ago

I have the same question. And I use Pay-As-You-Go services. image

Or maybe chat gpt-4 didn't know he is gpt-4 ?!