Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting data parameter type String in evaluate() #201

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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