feat: galileo adk to natively support custom retriever tools#482
Merged
feat: galileo adk to natively support custom retriever tools#482
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #482 +/- ##
==========================================
+ Coverage 81.85% 82.57% +0.72%
==========================================
Files 96 106 +10
Lines 9164 10269 +1105
==========================================
+ Hits 7501 8480 +979
- Misses 1663 1789 +126
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Focadecombate
approved these changes
Feb 19, 2026
8ec9edd to
50a5891
Compare
3937b2b to
1693801
Compare
1693801 to
52d274a
Compare
52d274a to
3de8546
Compare
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.
User description
Shortcut:
https://app.shortcut.com/galileo/story/55769/galileo-adk-to-support-retriever-tools
Tests:
Generated description
Below is a concise technical summary of the changes proposed in this PR:
Introduces native support for custom retriever tools, enabling RAG quality metrics in Galileo by providing a
@galileo_retrieverdecorator and enhancing theGalileoObserverto detect and log retriever-specific spans. These changes ensure that retrieval operations are correctly identified and their outputs are transformed into a standardized document format for comprehensive observability.SpanManagerto create distinct 'retriever' node types with specific tags and modifies theTraceBuilderto convert various retriever output formats into a standardized list of documents, crucial for RAG quality metric analysis. This ensures accurate logging and data processing for retriever spans.Modified files (4)
Latest Contributors(1)
@galileo_retrieverdecorator to mark functions as retrievers and updates theGalileoObserverto detect these tools, either through the decorator's attribute or by checking forBaseRetrievalToolinheritance. This includes exposing the decorator in the public API and providing user documentation.Modified files (5)
Latest Contributors(2)
galileodependency to version1.47.0inpyproject.toml, along with adding a repository URL. These are foundational changes for project compatibility and discoverability.Modified files (1)
Latest Contributors(2)