Skip to content

Add LangChain/LangGraph integration example - #36

Open
sjsjsjjs534 wants to merge 1 commit into
comet-ml:mainfrom
sjsjsjjs534:langchain-langgraph-integration
Open

Add LangChain/LangGraph integration example#36
sjsjsjjs534 wants to merge 1 commit into
comet-ml:mainfrom
sjsjsjjs534:langchain-langgraph-integration

Conversation

@sjsjsjjs534

Copy link
Copy Markdown

Summary

  • Add a runnable LangChain/LangGraph integration example using OpikTracer and track_langgraph
  • Include a dry-run path that exercises the same deterministic support-router logic without credentials
  • Add focused tests for routing behavior and update the integration indexes

Test Plan

  • UV_CACHE_DIR=/private/tmp/uv-cache-opik-examples-langchain uv run pytest -q
  • UV_CACHE_DIR=/private/tmp/uv-cache-opik-examples-langchain uv run ruff check .
  • UV_CACHE_DIR=/private/tmp/uv-cache-opik-examples-langchain uv run ruff format --check .
  • UV_CACHE_DIR=/private/tmp/uv-cache-opik-examples-langchain bash run.sh
  • UV_CACHE_DIR=/private/tmp/uv-cache-opik-examples-langchain uv run python -c "from langchain_langgraph import build_graph; app = build_graph(); print(app.invoke({'question': 'My login page throws an error'})['classification'])"

Closes #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Integration]: Add LangChain/LangGraph integration example

1 participant