Skip to contents

In a program's conversation, the program's turns remember each other, but the AI functions it calls (its helpers) start fresh at each call, unless the conversation says otherwise: ai_conversation(support, remembers = list(answer = remember("conversation", steps = TRUE))). "conversation": its own calls in the earlier turns of this branch, then in this turn; "turn": in this turn only. steps: with their tool steps.

Usage

remember(mode = c("conversation", "turn"), steps = FALSE)

Arguments

mode

"conversation" or "turn".

steps

Whether its earlier calls are shown with their tool steps.

Value

A memory, for remembers.