Runner override in adk web to use custom session and memory services #1714
Replies: 1 comment
|
You can configure these services through For 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 For your own session or memory class, put a Configuring the memory service makes it available to the agent; memory ingestion and retrieval still need to be part of your application's flow. |
Uh oh!
There was an error while loading. Please reload this page.
Hi, my question is simple: Is there a way to use a custom session and memory service (i.e. VertexAiRagMemoryService) when using "adk web" as UI interface?
I think that I need some way to override the Runner object to inject my custom services, but I cannot find any way to do so.
Any help will be appreciated.
All reactions