langsmith-dataset

Create, manage, and upload evaluation datasets to LangSmith via CLI and SDK.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/dotlab-hq/torque --skill langsmith-dataset-dotlab-hq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langsmith-dataset
Source: https://github.com/dotlab-hq/torque/tree/main/.agents/skills/langsmith-dataset
Command: npx skills add https://github.com/dotlab-hq/torque --skill langsmith-dataset-dotlab-hq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps data teams and AI practitioners create, manage, and upload evaluation datasets to LangSmith for testing and validating model performance across multiple dataset types. It streamlines workflow from dataset creation to deployment, ensuring traceability and reproducibility.

Core Features & Use Cases

  • Supports common evaluation dataset types: final_response, single_step, trajectory, and rag.
  • CLI-based management commands to create, export, upload, and manage datasets.
  • SDK-based creation and example management to build datasets programmatically.
  • Provides end-to-end workflow guidance for preparing traces and uploading them to LangSmith.

Quick Start

Create a new evaluation dataset and upload it to LangSmith using the CLI or SDK.

Frequently Asked Questions about langsmith-dataset

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upload evaluation datasets to LangSmith using the CLI or SDK?

To upload evaluation datasets to LangSmith, you can use CLI management commands or SDK-based creation to programmatically build and deploy datasets. This workflow requires handling API keys and project identification to ensure proper traceability and reproducibility for your tests.

What types of evaluation datasets does LangSmith support for model testing?

LangSmith supports final_response, single_step, trajectory, and rag dataset types for testing and validating model performance. These formats allow data teams to evaluate different stages of AI workflows, from final outputs to multi-step reasoning traces.

Can I create LangSmith datasets programmatically using Python SDK?

Yes, you can create LangSmith datasets programmatically using the SDK for example management. This allows developers to build datasets in code, automating the generation and deployment of evaluation datasets for continuous testing and validation.

What's the best way to manage LangSmith datasets for AI evaluation?

The best way to manage LangSmith datasets is by using CLI-based commands to create, export, upload, and manage your data. This approach streamlines the workflow from dataset creation to deployment, ensuring proper traceability and reproducibility.

Do I need API keys to upload evaluation datasets to LangSmith?

Yes, uploading evaluation datasets to LangSmith requires handling API keys and project identification. These credentials are necessary for authenticating your CLI or SDK workflows and ensuring your datasets are correctly associated with your testing environment.

How does preparing traces for LangSmith datasets work?

Preparing traces for LangSmith datasets involves guiding users through an end-to-end workflow to capture model interactions and upload them. This process ensures that trajectory and other evaluation datasets accurately record multi-step reasoning for validation.