Replies: 1 comment 1 reply
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: It seems that Hi @jimkont, Thanks for your detailed question. Your understanding of how To directly answer your questions:
We hope this helps you build your analytics agent! [1] https://github.com/google/adk-python/blob/main/contributing/samples/hello_world_app/agent.py |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I’m using ADK’s EventsCompactionConfig with an LlmEventSummarizer and had a question about how to preserve recent conversation turns.
My goal is to always keep the last N user interactions (e.g., 3) fully verbatim in the session context, and only summarize the older history before them. Conceptually:
From the docs and behavior I’m observing:
but overlap_size does not seem to guarantee that the last N interactions remain un-summarized — they eventually get re-summarized in later compactions
So my questions are:
If the latter, what is the recommended pattern to preserve recent verbatim context (e.g., storing recent turns in session state or a separate memory layer)?
My use case is an analytics agent where recent wording and exact criteria matter for follow-up questions, so keeping a small verbatim working set would be very helpful.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions