Skip to main content

LangGraph testing plugin for fasteval -- wrap any compiled StateGraph with a minimal harness for chat, session, mocking, and node-level testing

Project description

fasteval-langgraph

LangGraph testing plugin for fasteval. Wraps any compiled StateGraph with a minimal test harness for chat, session, mocking, and node-level testing.

Install

pip install fasteval-langgraph

Quick Start

from fasteval_langgraph import harness, mock
import fasteval as fe

graph = harness(compiled_graph)

@fe.correctness(threshold=0.8)
async def test_agent():
    result = await graph.chat("How do I configure OAuth?")
    fe.score(result.response, "Use OAuth 2.0...", input="How do I configure OAuth?")

See the full documentation for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fasteval_langgraph-1.0.0a1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fasteval_langgraph-1.0.0a1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file fasteval_langgraph-1.0.0a1.tar.gz.

File metadata

  • Download URL: fasteval_langgraph-1.0.0a1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fasteval_langgraph-1.0.0a1.tar.gz
Algorithm Hash digest
SHA256 14ee973947a9792f830a556dd858184bfa6c256184705db37bfdf33c2e01a88f
MD5 17371dbe86e16a17830ebfa3e0345c7f
BLAKE2b-256 179c4132ada7e59b398b64fb4c41feef8f0978d5715c321ed5ac926e5457ecc8

See more details on using hashes here.

File details

Details for the file fasteval_langgraph-1.0.0a1-py3-none-any.whl.

File metadata

  • Download URL: fasteval_langgraph-1.0.0a1-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fasteval_langgraph-1.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c0c971634dc0ea5e8e50a0a2eb93ba930601b93c3a88501a3b2dba235168530
MD5 ee503afa4c57a8aa667e0202e7fa8f90
BLAKE2b-256 0ae106e942b806e2e795ec43940df88c8493bd22a65c958a12f9879ba5312f0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page