Skip to main content

Overview

The Narada Python SDK uses Pydantic models to define structured output schemas, ensuring consistent and type-safe data extraction from automation tasks.

Using Structured Output

Define your data structure using Pydantic models and pass it to the SDK:

Supported Data Types

Best Practices

Clear Descriptions

Add descriptive Field annotations to guide data extraction

Type Safety

Use appropriate types and Optional fields for reliable data

Modular Models

Break complex schemas into smaller, reusable models

Validation

Let Pydantic handle data validation automatically
Use structured output whenever you need to extract specific data points from web pages. The SDK will ensure the data matches your schema exactly.