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

Integration with Azure OpenAI #219

Closed
Mohannadcse opened this issue Aug 22, 2023 · 1 comment
Closed

Integration with Azure OpenAI #219

Mohannadcse opened this issue Aug 22, 2023 · 1 comment
Assignees

Comments

@Mohannadcse
Copy link
Collaborator

Azure OpenAI is actually using OpenAI APIs for chatting and completion (doesn't use any specific SDK). However, its configuration uses additional settings like DEPLOYMENT_NAME, OPENAI_API_BASE, and OPENAI_API_VERSION https://github.com/Azure-Samples/openai/blob/main/Basic_Samples/Completions/config.json.

So the idea here is to create (1) AzureOpenAIGPTConfig subclass of OpenAIGPTConfig , where these additional config are incorporated (2) AzureOpenAIGPT subclass of OpenAIGPT to call the completion and chat APIs

@Mohannadcse Mohannadcse self-assigned this Aug 22, 2023
@Mohannadcse
Copy link
Collaborator Author

solved in this PR #220

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