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
- Basic Types
- Optional Fields
- Lists
- Nested Models
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