Skip to main content
This example demonstrates how to run a multi-user, multi-session chat. In this example, we have 3 users and 4 sessions.
  • User 1 has 2 sessions.
  • User 2 has 1 session.
  • User 3 has 1 session.

Code

cookbook/agent_concepts/memory/11_multi_user_multi_session_chat.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Set your API keys

3

Install libraries

4

Run Example