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-2.2.1.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-2.2.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file fasteval_langgraph-2.2.1.tar.gz.

File metadata

  • Download URL: fasteval_langgraph-2.2.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fasteval_langgraph-2.2.1.tar.gz
Algorithm Hash digest
SHA256 8139392e5cd91b0d3715192bbbcee62686cb48ce632c6bb61280c9bf47586b63
MD5 7a4dd2591307e6eefd0b79308f74fd45
BLAKE2b-256 7019c39d764df6607ef61e8054670455dfb1a99c9089574a7d1176fe34704d50

See more details on using hashes here.

Provenance

The following attestation bundles were made for fasteval_langgraph-2.2.1.tar.gz:

Publisher: release.yml on intuit/fasteval

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fasteval_langgraph-2.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fasteval_langgraph-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 daa7da86435c115b6296691c5cef522d1d3202e660a0db46935ffb5210b7810f
MD5 8e92a3365115f9e9ab21f3aa9049aeef
BLAKE2b-256 1da1bd9f9e9ee8d6c4cf89add3ceec85a7a516419716d8e746879baa9b5548dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for fasteval_langgraph-2.2.1-py3-none-any.whl:

Publisher: release.yml on intuit/fasteval

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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