Hello i'm facing some difficulties using chatgpt4 in azure I got an api working with chatgpt 3.5 form a colleague of mine but when i'm trying to run it whit chaptgpt4 after modifing the model name, OPENAI_API_BASE and OPENAI_API_KEY and i get this error when trying to do a simple query : (if you need further information i'll try to provide tehm as quickly as possible)
Did you check whether your engine supports GPT-4? You can go to Azure portal and check whether it is available in your region or not. Azure gives a playground to check your deployed model. Maybe you give it a try there.
i'm not used to work with azure but the openai service where the gpt4 model is deployed is located on EAST US 2 while the openai service where the gpt3.5 model is deployed is on EAST US do you think my problem can come from there ?
i'm not the one who deployed the gpt4 model but since it's deploy doesn't that mean i have access to gpt 4 ? (or i misunderstood the meaning of your message)
No, You have to select the model from Azure portal. So it's like which model resource you would like to choose from your Azure OpenAI. You choose one and that becomes available for you.
Correct, So since you have this. There is a playground in Azure portal. Just open that and take all the values from there like api_version. base_url, engine for GPT-4 associated model.
ok but my problem wasn't that my problem is that i have created a rest api that link gpt4 with some indexed documents of mine (thanks to text-embedding-ada-002) so i'm not using azureopenai.create chatcompletion or chatmessage so i'm using the service_context from llama_index but it doesn't seem to work with gpt4 ? is it bcs i don't have the text-embedding-ada-002 model in the same environnement than my gpt 4 ?
Hello sorry to still ask for your help but i'm still locked on this issue do you maybe have another place where they could answer me if you are too busy are someone else that could help me ? (thx for the help so far sry if I have been rude with my last comment it was not supposed to be. I'm french so my english isn't that good sry again)
i have an local api that work with flask langchain and azure to index a document on a mongoserv then i have some api request to ask chatgpt3.5-turbo-32k about the indexed document
ok i'll ask my boss tomorrow if i can add a new model i'm in apprenticeship so i don't really know what i'm alowed to do are not. Thanks for the help i'll give you feedback tomorrow β€οΈ
Ok so not having the text-embedding-ada-002 model with my gpt4 was the issues it's now working after a little cleanup of the code. Thx a lot for the help provided @WhiteFang_Jr @Logan M β€οΈ i wish you a good day/night