-
Notifications
You must be signed in to change notification settings - Fork 3k
Updating client to add private API needed for evaluation #40484
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
Updating client to add private API needed for evaluation #40484
Conversation
print("Create dataset for evaluation") | ||
dataset: DatasetVersion = project_client.datasets.upload_file_and_create( | ||
name=dataset_name, | ||
file="sample_folder/sample_eval.jsonl", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you plan on checking in the .jsonl file?
|
||
print("Submitting Evaluation") | ||
# Create evaluation | ||
evaluation_response: Evaluation = project_client.evaluations.create( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a need for both the comment and print lines (lines 75 & 76)?
) as project_client: | ||
|
||
print("Create evaluation") | ||
print("Create dataset for evaluation") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are both print lines needed?
Per our IM chat, please make sure this PR build is fully green before merging to the feature branch. Thanks! |
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines