Skip to content

Create filesretrieval integration page - #2166

Open
zyantw wants to merge 2 commits into
mainfrom
zyantw-patch-10
Open

Create filesretrieval integration page#2166
zyantw wants to merge 2 commits into
mainfrom
zyantw-patch-10

Conversation

@zyantw

@zyantw zyantw commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Adding integration guide for the FilesRetrieval tool

Staged: https://deploy-preview-2166--adk-docs-preview.netlify.app/integrations/filesretrieval/
Image retrieved from: https://www.magnific.com/icon/google_1199429#fromView=search&page=1&position=18&uuid=688eef5c-0a8c-4ee3-a77c-9b18255059d6
Agent's PR: #1534
Original Isuee: #1521


PR Documentation Claim Technical Verification Code Citation
Constructor Parameters: Requires name, description, input_dir and accepts an optional embedding_model typed as BaseEmbedding. Verified. The __init__ signature in files_retrieval.py perfectly matches this requirement, enforcing keyword arguments (*). FilesRetrieval.__init__
Default Model: Defaults to gemini-embedding-2-preview via GoogleGenAIEmbedding with a batch size of 1. Verified. If embedding_model is None, it calls a helper function that initializes exactly this model configuration. _get_default_embedding_model
Dependencies: Requires llama-index-embeddings-google-genai for the default implementation. Verified. The default model loader wraps the import in a try...except block, explicitly raising an ImportError directing users to install this package. ImportError Handling
LlamaIndex Architecture: Uses VectorStoreIndex to read local directories and perform search. Verified. The tool utilizes LlamaIndex's SimpleDirectoryReader to load the input_dir and builds a retriever using VectorStoreIndex.from_documents(). Retriever Initialization

Adding integration guide for the FilesRetrieval tool
@zyantw zyantw self-assigned this Aug 20, 2026
@netlify

netlify Bot commented Aug 20, 2026

Copy link
Copy Markdown

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 16d0faf
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/6a875f4b66ac2d000826f89b
😎 Deploy Preview https://deploy-preview-2166--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@zyantw
zyantw requested a review from joefernandez August 20, 2026 20:28
@zyantw
zyantw marked this pull request as ready for review August 20, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant