Azure / Azure/azure-sdk-for-python

Have evaluator model config work with project endpoint

Open
#43,624 0 comments 0 reactions 0 assignees View on GitHub
Evaluation feature-request
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Customers usually run into the confusion of using project endpoint in evaluator model config. We should consider making the model config accept a project endpont too assuming the model deployment is in the same resource.

Image

```
To be clear, the azure_endpoint in AzureOpenAIModelConfiguration(
# can only use the azure openai endpoint. If using foundry endpoint, there will be an error
azure_endpoint=os.environ["AZURE_OPENAI_ENDPOINT"],
azure_deployment=os.environ["AZURE_OPENAI_DEPLOYMENT"],
)

must be Azure OpenAI endpoint, not Azure AI Foundry project endpoint (which is reserved for the parameter called azure_ai_project.
```

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.