Skip to main content

Module persist

Module persist 

Source
Expand description

Step 3 of the conversation pipeline โ€” response persistence.

Writes the completed response and output items to storage, routing to the appropriate handler based on whether the turn belongs to a conversation.

Functionsยง

persist_response
Step 3 โ€” Persist the completed response to storage.
persist_turn
Persists one completed turn with the handler selected by its explicit conversation discriminator.