mirror of
https://github.com/google/adk-docs.git
synced 2026-09-14 16:16:59 +08:00
58f3aaebca
* Replace google.github.io/adk-docs URLs and /adk-docs/ paths with adk.dev Migrate all hardcoded documentation references to use the new custom domain. Update root-relative links to remove the /adk-docs/ subpath prefix since the site will be served from the root of adk.dev. * Additional fixes
1.3 KiB
1.3 KiB
catalog_title, catalog_description, catalog_icon, catalog_tags
| catalog_title | catalog_description | catalog_icon | catalog_tags | ||
|---|---|---|---|---|---|
| Vertex AI RAG Engine | Perform private data retrieval using Vertex AI RAG Engine | /integrations/assets/vertex-ai.png |
|
Vertex AI RAG Engine tool for ADK
Supported in ADKPython v0.1.0Java v0.2.0
The vertex_ai_rag_retrieval tool allows the agent to perform private data retrieval using Vertex
AI RAG Engine.
When you use grounding with Vertex AI RAG Engine, you need to prepare a RAG corpus beforehand. Please refer to the RAG ADK agent sample or Vertex AI RAG Engine page for setting it up.
!!! warning "Warning: Single tool per agent limitation"
This tool can only be used ***by itself*** within an agent instance.
For more information about this limitation and workarounds, see
[Limitations for ADK tools](/tools/limitations/).
=== "Python"
```py
--8<-- "examples/python/snippets/tools/built-in-tools/vertexai_rag_engine.py"
```