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

[Feature] Observability: Inline traces #2277

Merged
merged 48 commits into from
Nov 25, 2024

Conversation

aybruhm
Copy link
Member

@aybruhm aybruhm commented Nov 19, 2024

Description

This PR introduces improvements to inline traces in the Playground view, along with backend and web support for running evaluations based on the new base response v3 trace data.

aybruhm and others added 30 commits November 13, 2024 14:15
… base response to use new trace tree format
- Update version for backward-compatible response (`string` and `funcResponse`)
- Update base response trace type to be compatible with the trace tree format from the SDK
- Remove condition check for version value in `isBaseResponse`
… `CreateSpan` model, and update usage attribute in types
…3.0 and improve nested value extraction

- Added handling for version 3.0 response structure.
- Introduced a helper function `get_nested_value` to safely retrieve nested values from dictionaries.
- Updated trace latency calculation for version 3.0 with microsecond precision.
- Enhanced handling of missing or unexpected fields in the response.
- Ensured backward compatibility with version 2.0 and generic responses.
…eresponse-version30' into feature/age-1288-inline-traces-update-backend-to-use-baseresponse-version30
…eresponse-version30' into feature/age-1288-inline-traces-update-backend-to-use-baseresponse-version30
…eresponse-version30' into AGE-1286/-update-web-ui-to-use-baseresponse-version-3.0
…d extract field values from trace trees for BaseResponse v3.0, with backward compatibility
…e-baseresponse-version-3.0

(frontend)[Age-1286]: Update web UI to use BaseResponse version 3.0 in the Playground
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend CLI enhancement New feature or request size:XXL This PR changes 1000+ lines, ignoring generated files. tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants