create_dataset
Create datasets in Langfuse for organizing and structuring LLM application data with optional JSON schemas and metadata.
Instructions
Creates a new dataset in Langfuse. name is required. description is optional. metadataJson, inputSchemaJson, and expectedOutputSchemaJson must be valid JSON when provided. Returns the created dataset definition.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Dataset name. Required. | |
| description | Yes | Optional dataset description. | |
| metadataJson | Yes | Optional metadata object as JSON. | |
| inputSchemaJson | Yes | Optional JSON Schema for item inputs, encoded as JSON. | |
| expectedOutputSchemaJson | Yes | Optional JSON Schema for expected outputs, encoded as JSON. |