Chainlit is an open-source async Python framework which allows developers to build scalable Conversational AI or agentic applications.
You can follow Chainlit installation steps on their Getting Started Page
By integrating Zep into your Chainlit LLM application, you elevate your conversational agent with powerful features like long-term memory and context fusion.
In this guide, we’ll walk you through the steps to build a simple Question and Answer agent using Chainlit, Open AI and Zep.
Steps to Use Zep Cloud with ChainLit
- Setup Zep Client: Initialize the Zep Client within your ChainLit application using your Zep Project API key.
- User and Session Management: Leverage the
CreateUserRequest
andSession
models to manage your application’s users and sessions effectively.
- Zep Dialog tools: Elevate agent knowledge with ChainLit Steps and Zep Dialog Tools
Discover more about Zep’s dialog tools on the Zep Documentation Page.
- Message Handling: You can effectively store and fetch your Chainlit application chat history on Zep memory store, enhancing your LLM conversational context.
Discover more about Zep’s memory store capabilities on the Zep Documentation Page.
- To access your LLM session data, navigate to the Zep Cloud Console, select a session, and review all the associated session data and logs.
In conclusion, integrating Zep Cloud with Chainlit empowers developers to create conversational AI applications that are more intelligent, context-aware, and efficient.
For additional examples, check out more use cases.