Skip to main content

🦜💯 LangChain Benchmarks

Release Notes CI License: MIT Twitter Open Issues

📖 Documentation

A package to help benchmark various LLM related tasks.

The benchmarks are organized by end-to-end use cases, and utilize LangSmith heavily.

We have several goals in open sourcing this:

  • Showing how we collect our benchmark datasets for each task
  • Showing what the benchmark datasets we use for each task is
  • Showing how we evaluate each task
  • Encouraging others to benchmark their solutions on these tasks (we are always looking for better ways of doing things!)

Benchmarking Results

Read some of the articles about benchmarking results on our blog.

Tool Usage (2024-04-18)

See tool usage docs to recreate!

download

Explore Agent Traces on LangSmith:

Installation

To install the packages, run the following command:

pip install -U langchain-benchmarks

All the benchmarks come with an associated benchmark dataset stored in LangSmith. To take advantage of the eval and debugging experience, sign up, and set your API key in your environment:

export LANGCHAIN_API_KEY=ls-...

Repo Structure

The package is located within langchain_benchmarks. Check out the docs for information on how to get starte.

The other directories are legacy and may be moved in the future.

Archived

Below are archived benchmarks that require cloning this repo to run.

Metadata

Release files for langchain-benchmarks 0.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-benchmarks 0.0.14
File Size Uploaded Provenance Actions
langchain_benchmarks-0.0.14.tar.gz 50.6 kB Without provenance Details for langchain_benchmarks-0.0.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-benchmarks 0.0.14
File Interpreter ABI Platform Actions
langchain_benchmarks-0.0.14-py3-none-any.whl Python 3 none any Details for langchain_benchmarks-0.0.14-py3-none-any.whl

Total release size: 123.0 kB

Release files / langchain_benchmarks-0.0.14.tar.gz

Download URL langchain_benchmarks-0.0.14.tar.gz
Size 50.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b4b17cfbbc8f857864c9dbe069930bb002cb22e86bfa88494a1e1adf75f37869
BLAKE2b-256 checksum
How to use checksums
8993f1fbd97a15b7d7d0b045884d1d974460de219af57455daa87dd3886b5be1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / langchain_benchmarks-0.0.14-py3-none-any.whl

Download URL langchain_benchmarks-0.0.14-py3-none-any.whl
Size 72.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30f202772e277b397298b480262daeb330ca8f5105aba4ab0fc7f21071e78ea5
BLAKE2b-256 checksum
How to use checksums
adbac0d2ec5abbd59df55a50e137192170bd1c9a810e3aff478202a2a8a9b6cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Security for langchain-benchmarks 0.0.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page