-
Azure OpenAI service To configure for Azure OpenAI service, set the following environment variables: CHAT_COMPLETION_PROVIDER='azure' Where to provide api key for magnetic-one setup Getting this error: write a python program for fibonaci series, validate and test it make it production ready |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This one uses azure AAD auth. Can you switch to use key-based auth: {
"api_version": "2024-02-15-preview",
"azure_endpoint": "REPLACE_WITH_YOUR_ENDPOINT",
"model_capabilities": {
"function_calling": true,
"json_output": true,
"vision": true
},
"api_key": "Your API key",
"model": "gpt-4o-2024-05-13"
} |
Beta Was this translation helpful? Give feedback.
-
Please also provide the correct json format for adding additional parameters like temperature, max_tokens and top_p |
Beta Was this translation helpful? Give feedback.
This one uses azure AAD auth. Can you switch to use key-based auth: