Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When will mode_completion_azure for "gpt-3.5-turbo" be supported? #3

Open
you-n-g opened this issue Jul 15, 2023 · 2 comments
Open

Comments

@you-n-g
Copy link
Contributor

you-n-g commented Jul 15, 2023

Thanks!

@ecornell
Copy link
Owner

ecornell commented Jul 15, 2023

The non-chat completion modes are depredated.

To use the gpt-35-turbo model on Azure, just change the [mode_chat_completion] mode endpoint in the settings.ini file to use your Azure endpoint and add your azure API key. You can also create a new mode entry and change your prompts to use it.

[mode_chat_completion]
endpoint=https://****.openai.azure.com/openai/deployments/gpt-35-turbo/chat/completions?api-version=2023-03-15-preview
model="gpt-3.5-turbo"
api_key=***
max_tokens=3000
temperature=0.2
top_p=1
frequency_penalty=0.0
presence_penalty=0.0

Also works with the gtp-35-turbo-16k model.

[mode_chat_completion_16k]
endpoint=https://****.openai.azure.com/openai/deployments/gpt-35-turbo-16k/chat/completions?api-version=2023-03-15-preview
model="gpt-35-turbo-16k"
api_key=***
max_tokens=3000
temperature=0.2
top_p=1
frequency_penalty=0.0
presence_penalty=0.0

@you-n-g
Copy link
Contributor Author

you-n-g commented Jul 16, 2023

It raises following error in my case

image

I follow this configuration

[mode_chat_completion]
endpoint=https://****.openai.azure.com/openai/deployments/gpt-35-turbo/chat/completions?api-version=2023-03-15-preview
model="gpt-3.5-turbo"
api_key=***
max_tokens=3000
temperature=0.2
top_p=1
frequency_penalty=0.0
presence_penalty=0.0
```

@ecornell ecornell reopened this Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants