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
5.6k stars 3.75k forks source link

Deployment Changes for gpt-3.5-turb-0301 #281

Open ramchenna opened 1 year ago

ramchenna commented 1 year ago

We had deployed this code on 19th May 2023 by taking the latest code and it deployed two models in the deployments as below.

  1. Deployment - 1 deployment Name: 'davinci' model name : 'text-davinci-003'

  2. Deployment - 2 deployment Name='chat' Model name='gpt-35-turbo'

We looked at the code in Main.bicep file and found the below two lines in it. param gptDeploymentName string = 'davinci' param gptModelName string = 'text-davinci-003'

param chatGptDeploymentName string = 'chat' param chatGptModelName string = 'gpt-35-turbo'

Now What we want is to use the the model 'gpt-3.5-turbo-0301'. Could you please suggest what changes to be made in the above 4 lines if i need to use the 'gpt-3.5-turbo-0301'.

Additionally could you please explain and elaborate by ChatGPTDeployment and gptDeployment. Cant we just use only one model in the deployment which 'gpt-3.5-turbo-0301' and what changes should we make to the code in Main.bicep.

Also please provide details of changes to be made in any other code file.

Thanks Ram

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.