Developing with Zep
Example Code | Python API | TypeScript API
Installation
Zep offers both Python and TypeScript SDKs.
Initializing the Client
Zep supports optional JWT authentication.
The examples below assume that you have enabled JWT authentication. See the Authentication Configuration Guide for more information.
zep-python
supports async use
zep-python
supports async use. All methods are available as both sync and async, with the async methods
prefixed with a
. For example, zep-python
has both zep_client.memory.add_memory
and zep_client.memory.aadd_memory
methods.
Next Steps
Now that you have a Zep client, you can start using the Zep APIs.
-
Working with Documents
Populate your prompts with relevant documents using similarity search
-
Working with Chat History
Store Chat History, enrich it with metadata, and run semantic search over it
-
Enrich it all
Learn about Zep's Extractors that generate embeddings, summaries, named entities, token counts, and more.
-
Use the tools you love
Working with LangChain 🦜⛓️ and LlamaIndex 🦙