We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd40fd4 + ee191b9 commit 81650b5Copy full SHA for 81650b5
articles/ai-foundry/concepts/evaluation-evaluators/azure-openai-graders.md
@@ -31,8 +31,8 @@ from dotenv import load_dotenv
31
load_dotenv()
32
33
model_config = AzureOpenAIModelConfiguration(
34
- azure_endpoint=os.environ["AZURE_ENDPOINT"],
35
- api_key=os.environ.get["AZURE_API_KEY"],
+ azure_endpoint=os.environ.get("AZURE_ENDPOINT"),
+ api_key=os.environ.get("AZURE_API_KEY"),
36
azure_deployment=os.environ.get("AZURE_DEPLOYMENT_NAME"),
37
api_version=os.environ.get("AZURE_API_VERSION"),
38
)
@@ -193,7 +193,7 @@ sim_grader_evaluation = evaluate(
193
"similarity": sim_grader
194
},
195
196
-evaluation
+sim_grader_evaluation
197
```
198
199
### Text similarity output
0 commit comments