You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sample Code Syntax Error in azure-openai-graders.md
error on model_config. The way os.environ , wrong and inconsistant, lead to error.
azure_endpoint=os.environ["AZURE_ENDPOINT"],
api_key=os.environ.get["AZURE_API_KEY"],
azure_deployment=os.environ.get("AZURE_DEPLOYMENT_NAME"),
api_version=os.environ.get("AZURE_API_VERSION"),
another one is presume run in notebook, it print out the result, but it's using the accessing the wrong variable.
sim_grader_evaluation = evaluate(
data=data_file_name,
evaluators={
"similarity": sim_grader
},
)
evaluation <== wrong
---
lastly, the data.jsonl mentioned is a JSONL, but given example is not a JSONL format.
0 commit comments