Skip to main content

๐Ÿ‘ Add memory to the agent

The final step in this lab is to add conversational message history as a form of memory for the agent.

Fill in any <CODE_BLOCK_N> placeholders and run the cells under the Step 11: Add memory to the agent section in the notebook to add memory to the agent.

The answers for code blocks in this section are as follows:

CODE_BLOCK_19

Answer
{"configurable": {"thread_id": thread_id}}