mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-20 14:42:28 +02:00
## Description While following the LangChain tutorial on [chatbot simulation evaluation](https://langchain-ai.github.io/langgraph/tutorials/chatbot-simulation-evaluation/langsmith-agent-simulation-evaluation/), I encountered some issues and made the following fixes to ensure proper functionality: 1. Updated deprecated `run_on_dataset` to `evaluate` to resolve PydanticUserError - Following the migration guide: https://docs.smith.langchain.com/old/evaluation/migration 2. Added missing `langchain_community` import 3. Added required `simulation_utils.py` file to docs directory - Source: https://github.com/langchain-ai/langgraph/blob/main/examples/chatbot-simulation-evaluation/simulation_utils.py ## Testing Successfully ran the `langsmith-agent-simulation-evaluation.ipynb` notebook without any errors.