google-adk-kotlin
Toggle table of contents
1.6.0
common
Target filter
common
Switch theme
Search in API
Skip to content
google-adk-kotlin
google-adk-kotlin-core
/
com.google.adk.kt.summarizer
/
EventCompactor
事件
压实机
common
interface
EventCompactor
Base interface for compacting events.
Inheritors
SlidingWindowEventCompactor
TokenThresholdEventCompactor
Members
函数
compact
Link copied to clipboard
common
abstract
suspend
fun
compact
(
session
:
Session
,
sessionService
:
SessionService
)
压缩给定会话中的事件。如果发生了压缩操作,新的压缩事件将会被添加到该会话的记录中。
sessionService
.