Retriever tools #365
-
The abstractions provided by ADK seem great! I'm looking around for something to help with making tools that can retrieve context for user queries, something along the lines of LlamaIndex's QueryEngine or Retrievers. I did go through the RAG sample, but that's tied to Vertex RAG. Is there a way I can use say a LlamaIndex retriever along with ADK agents? Perhaps as a tool? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Thank you for this, I was looking for this everywhere. I wanted a rag implementation |
Beta Was this translation helpful? Give feedback.
-
Tried using llama-index retrievers as function tools. Not very idiomatic, but it works - since it can just be a python function |
Beta Was this translation helpful? Give feedback.
-
We have a tool just for this: https://github.com/google/adk-python/blob/main/src/google/adk/tools/retrieval/llama_index_retrieval.py |
Beta Was this translation helpful? Give feedback.
We have a tool just for this: https://github.com/google/adk-python/blob/main/src/google/adk/tools/retrieval/llama_index_retrieval.py