Skip to content
Discussion options

You must be logged in to vote

You can configure these services through adk web without overriding its Runner.

For VertexAiRagMemoryService, the current CLI provides a rag:// memory URI:

export GOOGLE_CLOUD_PROJECT="your-project"
export GOOGLE_CLOUD_LOCATION="your-rag-corpus-location"

adk web ./my_agents \
  --session_service_uri="sqlite:///./sessions.db" \
  --memory_service_uri="rag://YOUR_RAG_CORPUS_ID"

Use the corpus ID after rag://, not the full projects/.../ragCorpora/... resource name. The registered factory constructs that resource name from the project, location, and ID. Google Cloud credentials and corpus access must already be configured.

For your own session or memory class, put a services.py file directly…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sanketpatil06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants