Skip to content

ConvertResponse

Base classes

Name Children Inherits
BaseModel
pydantic.main
!!! abstract "Usage Documentation"

⋔ Inheritance diagram

graph TD
  905752399["models.ConvertResponse"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3879467795 --> 905752399
  2751680898 --> 3879467795

🛈 DocStrings

Bases: BaseModel

Response of /v1/convert: each image once, chunks only when a chunker was given.

Source code in src/docler_api/models.py
class ConvertResponse(BaseModel):
    """Response of `/v1/convert`: each image once, chunks only when a chunker was given."""

    document: DocumentOut
    images: list[ImageOut] = Field(default_factory=list)
    chunks: list[ChunkOut] | None = None

:fa-brands-github: Show source on GitHub