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

Add Azure support for transcription #7

Merged
merged 7 commits into from
May 17, 2024
Merged

Add Azure support for transcription #7

merged 7 commits into from
May 17, 2024

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented May 9, 2024

Fixes #5

This pull request adds support for Azure as an API provider for transcription in the Care Scribe application. It includes changes to the README.md file to add new configuration variables for Azure, and changes to the scribe.py file to handle the Azure API client. The get_openai_client() function has been updated to create an instance of AzureOpenAI if the API_PROVIDER configuration is set to "azure". The process_ai_form_fill() function has been modified to use the AUDIO_MODEL_NAME and CHAT_MODEL_NAME configuration variables for Azure.

@Ashesh3 Ashesh3 marked this pull request as ready for review May 9, 2024 11:46
@sainak sainak requested a review from vigneshhari May 15, 2024 18:04
@sainak
Copy link
Member

sainak commented May 15, 2024

Tested with the following config

"AZURE_API_VERSION": "2024-02-01",
"AUDIO_MODEL_NAME": "whisper",
"CHAT_MODEL_NAME": "gpt-35-turbo"

@sainak sainak merged commit 5d1ef9b into master May 17, 2024
@sainak sainak deleted the azure branch May 17, 2024 15:28
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

Successfully merging this pull request may close these issues.

Support for Azure Enterprise endpoint
2 participants