Skip to content

Commit da03da9

Browse files
minthigpenneeduv
andauthored
Update articles/ai-studio/how-to/develop/evaluate-sdk.md
Co-authored-by: Neehar Duvvuri <[email protected]>
1 parent a9a727e commit da03da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-studio/how-to/develop/evaluate-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ credential = DefaultAzureCredential()
205205

206206

207207
# Initializing Violence Evaluator with project information
208-
violence_eval = ViolenceEvaluator(azure_ai_project=azure_ai_project, credential=credential)
208+
violence_eval = ViolenceEvaluator(credential=credential, azure_ai_project=azure_ai_project)
209209
# Running Violence Evaluator on single input row
210210
violence_score = violence_eval(query="What is the capital of France?", answer="Paris.")
211211
print(violence_score)

0 commit comments

Comments
 (0)