FireKit AI
  • Welcome to FireKit AI
  • Guide
    • Introduction
    • Core Concepts
      • AI Chains
      • Blocks
      • Edges
    • Rules
    • Debugging
  • Blocks
    • Agent
    • Skill
    • VectorStore Reader
    • Text
    • Chat Memory
Powered by GitBook
On this page
  1. Blocks

Chat Memory

PreviousText

Last updated 1 year ago

The Chat Memory block provides the history of inputs and outputs from chain executions as text. This serves as a mechanism for persisting memory of the conversation among executions of the chain.

After running the chain below with an input of Hello, I am Jack. What is your name?, the chat memory block output will be as follows in the next run of the chain:

Chat Memory histories are persisted per session. When an application is run for the first time, a session is automatically created and you can view the session id in the run panel. To begin a new chat memory history, click on the refresh button next to the session id.