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

Support model -> deployment name mapping #13

Open
agladysh opened this issue Jun 2, 2023 · 0 comments
Open

Support model -> deployment name mapping #13

agladysh opened this issue Jun 2, 2023 · 0 comments

Comments

@agladysh
Copy link

agladysh commented Jun 2, 2023

I'm using several models in my code, with a deployment for each, so we can't use config.deploymentName.

Azure doesn't allow . character in deployment names.

I have to send gpt-35-turbo to Azure and gpt-3.5-turbo to OpenAI.

Currently I have to change model my createChatCompletion code, depending on the provider.

It would be great to be able to provide a model to deployment mapping (dictionary or a callback) in the azure-openai configuration instead.

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

1 participant