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.
1 parent c2b1c2b commit 4e3b896Copy full SHA for 4e3b896
articles/ai-foundry/how-to/develop/evaluate-sdk.md
@@ -364,7 +364,7 @@ credential = DefaultAzureCredential()
364
# Initializing Violence Evaluator with project information
365
violence_eval = ViolenceEvaluator(credential=credential, azure_ai_project=azure_ai_project)
366
# Running Violence Evaluator on a query and response pair
367
-violence_score = violence_eval(query="What is the capital of France?", answer="Paris.")
+violence_score = violence_eval(query="What is the capital of France?", response="Paris.")
368
print(violence_score)
369
370
# Conversation mode
0 commit comments