feat(api): update API spec from langfuse/langfuse 784ab09#1538
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Update API spec to deprecate
parse_io_as_jsoninobservations_v2and addfilterparameter inscore_v2.parse_io_as_jsonparameter inget_many()inclient.pyandraw_client.pyforobservations_v2.filterparameter toget()inclient.pyandraw_client.pyforscore_v2.parse_io_as_jsonnow returns a 400 error if set totrueinobservations_v2clients.filterparameter allows JSON stringified array of filter objects inscore_v2clients.This description was created by
for e0fe3cc. You can customize this summary. It will automatically update as commits are pushed.
Disclaimer: Experimental PR review
Greptile Summary
Updates API spec from langfuse/langfuse repository to deprecate
parse_io_as_jsonparameter in observations_v2 endpoints and add filtering capability to score_v2 endpoints.Key Changes:
parse_io_as_jsonparameter inobservations_v2.get_many()- setting totruenow returns 400 errorfilterparameter toscore_v2.get()for metadata-based filtering using JSON stringified filter objectsThe changes are documentation-only updates to auto-generated API client code, ensuring the Python SDK matches the latest API specification.
Confidence Score: 5/5
Important Files Changed
parse_io_as_jsonparameter, warning it returns 400 error if set to trueparse_io_as_jsonparameter, warning it returns 400 error if set to truefilterparameter toget()method for JSON stringified array filtering of score metadatafilterparameter toget()method for JSON stringified array filtering of score metadataLast reviewed commit: e0fe3cc