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

add metadata to example, allow for creating feedback on the session level #486

Merged
merged 7 commits into from
Mar 3, 2024

Conversation

hwchase17
Copy link
Contributor

No description provided.

@@ -2924,6 +2932,7 @@ def create_feedback(
feedback_id: Optional[ID_TYPE] = None,
feedback_config: Optional[ls_schemas.FeedbackConfig] = None,
stop_after_attempt: int = 10,
session_id: Optional[ID_TYPE] = None,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check if both none, xor

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about a separate method? create_aggregate_feedback()?

@hwchase17 hwchase17 changed the title WIP: add metadata to example add metadata to example, allow for creating feedback on the session level Mar 3, 2024
@hinthornw hinthornw merged commit e491536 into main Mar 3, 2024
7 checks passed
@hinthornw hinthornw deleted the harrison/example-metadata branch March 3, 2024 23:30
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.

2 participants