Azure / Azure/azure-sdk-for-python
Support HTTP_Client in Azure Open AI requests
- Dominant language
- Python
- Stars
- 5.6k
- Forks
- 3.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 193
Description
- **azure-ai-evaluation**:
- **latest**:
- **windows**:
- **3.12**:
**Describe the bug**
Azure OpenAI Connection don't support http_client in the AzureModelConfig neither in the requests.
**To Reproduce**
Steps to reproduce the behavior:
1. Add the parameter of http_client as posible key for the AzureModelConfig
2. Add it to the validations of the dictionary
3. In the request to azure open ai, include http_client when invoking AzureOpenAI.
4. Same for AzureOpenAIGrader.
**Expected behavior**
I expect I can send http_client to the requests to azure open ai.
**Additional context**
In order to reach out to Azure resources from local network I need to create http_client and specify the path where my SSL certificate is located. Otherwise I get an API error.
Contributor guide
Assessment
This issue has not been assessed yet.