Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
6.32k stars 4.22k forks source link

How to change the model from Gpt 3.5 to Gpt 40 #1698

Open LitiGrit-Lea opened 5 months ago

LitiGrit-Lea commented 5 months ago

How to change the model from Gpt 3.5 to Gpt 40

mo-albaba commented 5 months ago

do you want to make the main Chat to auto take GPT 4o as the open ai model?

pamelafox commented 5 months ago

We recently changed to using gpt-4o for our vision feature.

As @mo-albaba says, if you do want to also use gpt-4o for the non-vision completions, you should be able to use a similar approach as for changing to gpt-4: https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_features.md#using-gpt-4

I'm not sure the benefit of 4o for the non-vision completions, but you're welcome to give it a go.

LitiGrit-Lea commented 5 months ago

It worked and how can i pass prompt which i have written