-
Notifications
You must be signed in to change notification settings - Fork 152
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
Does azure_api_key support this sdk? #7
Comments
Not yet. Should be easy to add to http.cpp. |
add_compile_definitions(OPENAI_API_KEY="$ENV{OPENAI_API_KEY}") Looks like that real-time model in Azure OpenAI uses WebSocket to connect to the service: I guess that the model version is different and API is too. Backend SelectionBACKEND=azure|openai Azure OpenAI ConfigurationAZURE_OPENAI_ENDPOINT=your-endpoint OpenAI ConfigurationOPENAI_API_KEY=your-api-key |
I think Azure just needs some slightly different HTTP headers, e.g., |
Looks like Azure OpenAI only supports Secure WebSocket now. |
Does azure_api_key support this sdk?
The text was updated successfully, but these errors were encountered: