amosjyng/vcr-langchain
Record and replay LLM interactions for langchain
This tool helps developers working with LangChain applications to record and replay interactions with large language models (LLMs) and other external tools. It takes your existing LangChain code and, after an initial run, stores the LLM responses and tool outputs. Subsequent runs then instantly provide these stored outputs, making your tests faster, deterministic, and free from external dependencies or side effects. This is primarily for software developers and quality assurance engineers.
No commits in the last 6 months.
Use this if you are a Python developer building applications with LangChain and want to make your unit tests for LLM logic faster, more reliable, and independent of external API calls.
Not ideal if you need to record and replay every possible LangChain functionality, as it doesn't currently hijack all features for recording.
Stars
81
Forks
6
Language
Python
License
MIT
Category
Last pushed
Jun 26, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/amosjyng/vcr-langchain"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
langchain-ai/langchain-aws
Build LangChain Applications on AWS
brainlid/langchain
Elixir implementation of a LangChain style framework that lets Elixir projects integrate with...
langchain-ai/langchain-weaviate
🦜🔗 LangChain interface to Weaviate
langchain-ai/langchain-litellm
🦜🔗 LangChain interface to LiteLLM
langchain-ai/langchain-mongodb
Integrations between MongoDB, Atlas, LangChain, and LangGraph