Documentation
Models
Overview
The models module provides pydantic
models describing ACP data structures.
Location within the sdk: models
Core
Core models are used directly by the SDK consumers. They describe ACP structures like Message
, MessagePart
or Run
.
Location within the sdk: models.models
Schemas
Schema models are used by client and server implementations. They describe payloads of HTTP requests and responses.
Location within the sdk: models.schemas
Errors
Error model describes errors within the system. SDK consumers can encounter errors in various places, during a stream, as part of the Run
model or raised inside the ACPError
exception.
Location within the sdk: models.errors