Skip to content

Commit 81650b5

Browse files
authored
Merge pull request #464 from c2js/patch-2
Sample Code Syntax Error in azure-openai-graders.md
2 parents bd40fd4 + ee191b9 commit 81650b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/ai-foundry/concepts/evaluation-evaluators/azure-openai-graders.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ from dotenv import load_dotenv
3131
load_dotenv()
3232

3333
model_config = AzureOpenAIModelConfiguration(
34-
azure_endpoint=os.environ["AZURE_ENDPOINT"],
35-
api_key=os.environ.get["AZURE_API_KEY"],
34+
azure_endpoint=os.environ.get("AZURE_ENDPOINT"),
35+
api_key=os.environ.get("AZURE_API_KEY"),
3636
azure_deployment=os.environ.get("AZURE_DEPLOYMENT_NAME"),
3737
api_version=os.environ.get("AZURE_API_VERSION"),
3838
)
@@ -193,7 +193,7 @@ sim_grader_evaluation = evaluate(
193193
"similarity": sim_grader
194194
},
195195
)
196-
evaluation
196+
sim_grader_evaluation
197197
```
198198

199199
### Text similarity output

0 commit comments

Comments
 (0)