Azure / Azure/azure-sdk-for-python

Support HTTP_Client in Azure Open AI requests

Aperta
#42,825 1 commento 0 reazioni 1 assegnatario Rivendicata da @singankit Vedi su GitHub
Client customer-reported Evaluation feature-request needs-team-attention Service Attention
Lingua principale
Python
Stelle
5.6k
Fork
3.4k
Merge medio
2g
PR unite (30g)
217

Descrizione

- **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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.