Skip to content

Support for StructuredInput and StructuredOutput for pydantic models #62

@rlam3

Description

@rlam3

Requesting support for StructuredInput and StructuredOutput for pydantic models?

Currently we can send a massive JSON schema for both the prompt and the extraction schema. but would love some kind of https://python.useinstructor.com/ instructor structured output based on pydantic models so we can leverage typing and model validations based on responses?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions