summary_conversation_memory
SummaryConversationMemory
Bases: ConversationMemory
SummaryConversationMemory
Bases: ConversationMemory
griptape/memory/structure/summary_conversation_memory.py
offset: int = field(default=1, kw_only=True, metadata={'serializable': True})
class-attribute
instance-attribute
prompt_driver: BasePromptDriver = field(kw_only=True, default=Factory(lambda: Defaults.drivers_config.prompt_driver))
class-attribute
instance-attribute
summarize_conversation_template_generator: J2 = field(default=Factory(lambda: J2('memory/conversation/summarize_conversation.j2')), kw_only=True)
class-attribute
instance-attribute
summary: Optional[str] = field(default=None, kw_only=True, metadata={'serializable': True})
class-attribute
instance-attribute
summary_index: int = field(default=0, kw_only=True, metadata={'serializable': True})
class-attribute
instance-attribute
summary_template_generator: J2 = field(default=Factory(lambda: J2('memory/conversation/summary.j2')), kw_only=True)
class-attribute
instance-attribute
summarize_runs(previous_summary, runs)
griptape/memory/structure/summary_conversation_memory.py
to_prompt_stack(last_n=None)
griptape/memory/structure/summary_conversation_memory.py
try_add_run(run)
griptape/memory/structure/summary_conversation_memory.py
unsummarized_runs(last_n=None)
griptape/memory/structure/summary_conversation_memory.py