Module retrieval

Module retrieval 

Source
Expand description

Retrieval tools — provide RAG (Retrieval-Augmented Generation) capabilities.

Mirrors ADK-Python’s tools/retrieval module. Provides base traits and implementations for retrieving relevant documents to augment LLM context.

Structs§

FilesRetrievalTool
Retrieval tool that searches through local text files.
RetrievalResult
A single retrieval result — a document chunk with metadata.
VertexAiRagRetrievalTool
Retrieval tool that searches via Vertex AI RAG API.

Traits§

BaseRetrievalTool
Trait for retrieval tools that fetch relevant context.