mirror of
https://github.com/Ladebeze66/llm_ticket3.git
synced 2026-02-04 15:20:22 +01:00
27 lines
752 B
Python
27 lines
752 B
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from .ocrpageobject import OCRPageObject, OCRPageObjectTypedDict
|
|
from .ocrusageinfo import OCRUsageInfo, OCRUsageInfoTypedDict
|
|
from mistralai.types import BaseModel
|
|
from typing import List
|
|
from typing_extensions import TypedDict
|
|
|
|
|
|
class OCRResponseTypedDict(TypedDict):
|
|
pages: List[OCRPageObjectTypedDict]
|
|
r"""List of OCR info for pages."""
|
|
model: str
|
|
r"""The model used to generate the OCR."""
|
|
usage_info: OCRUsageInfoTypedDict
|
|
|
|
|
|
class OCRResponse(BaseModel):
|
|
pages: List[OCRPageObject]
|
|
r"""List of OCR info for pages."""
|
|
|
|
model: str
|
|
r"""The model used to generate the OCR."""
|
|
|
|
usage_info: OCRUsageInfo
|