Skip to content

Conversation

@webmaxru
Copy link

This pull request includes a minor change to the evaluate_chat_with_products function in the evaluate.py file. The change involves converting the data path to a string format to fix raise EvaluationException( azure.ai.evaluation._exceptions.EvaluationException: data parameter must be a string. error.

  • scenarios/rag/custom-rag-app/evaluate.py: Modified the data parameter in the evaluate function call to use str(Path(ASSET_PATH) / "chat_eval_data.jsonl") instead of Path(ASSET_PATH) / "chat_eval_data.jsonl".

This is a fix for the error `raise EvaluationException(
azure.ai.evaluation._exceptions.EvaluationException: data parameter must be a string.`
@webmaxru webmaxru requested a review from a team as a code owner February 18, 2025 19:47
@webmaxru webmaxru had a problem deploying to external-contribution February 18, 2025 19:48 — with GitHub Actions Failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant