Prerequisites
- Python 3.11 or higher
- A LangSmith API key (starts with
lsv2_pt_...) - A LangSmith project with existing traces
Installation
parquet extra:
Your First Import
- Connect to LangSmith using your API key
- List the 10 most recent conversations in your project
- Fetch the full run tree for each conversation, extract messages, and build Trajectories
- Write each Trajectory as a JSON file to
./exports/