Home / Companies / LangChain / Blog / Post Details
Content Deep Dive

Zep x LangChain: Diagnosing and Fixing Slow Chatbots

Blog post from LangChain

Post Details
Company
Date Published
Author
-
Word Count
1,362
Company Posts That Month
11
Language
English
Hacker News Points
-
Post removed?
No
Summary

LangChain's LangSmith service is designed to help developers identify and address latency issues in language model (LLM) applications, particularly in chatbot systems. By using LangSmith, developers can easily diagnose where latency originates without the need for extensive manual instrumentation. The article details an example of a slow chatbot app using LangChain, where latency was primarily caused by the ConversationSummaryBufferMemory's summarization process. By switching to Zep, an open-source long-term memory store that processes data asynchronously and supports stateless architectures, the latency was significantly reduced. The experiment conducted showed that Zep could decrease runtime by an order of magnitude, with most latency now attributed to the OpenAI API. LangSmith proved effective for performance analysis, with Zep offering a faster alternative for managing chat history and memory in LLM applications.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Vector Search 10 1,138 165 70 -23%
LLM 9 1,819 224 89 -2%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.