Search Results for

    Show / Hide Table of Contents

    Class MistralOcrRequest

    Inheritance
    object
    MistralOcrRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Mistral
    Assembly: Glitch9.AIDevKit.Provider.Mistral.dll
    Syntax
    public sealed class MistralOcrRequest

    Properties

    | Edit this page View Source

    BboxAnnotationFormat

    Optional. Specify the format that the model must output.

    Declaration
    [JsonProperty("bbox_annotation_format")]
    public ResponseFormat BboxAnnotationFormat { get; set; }
    Property Value
    Type Description
    ResponseFormat
    | Edit this page View Source

    Document

    Required. Document to run OCR on.

    Declaration
    [JsonProperty("document")]
    public IMistralDocumentChunk Document { get; set; }
    Property Value
    Type Description
    IMistralDocumentChunk
    | Edit this page View Source

    DocumentAnnotationFormat

    Optional. Specify the format that the model must output.

    Declaration
    [JsonProperty("document_annotation_format")]
    public ResponseFormat DocumentAnnotationFormat { get; set; }
    Property Value
    Type Description
    ResponseFormat
    | Edit this page View Source

    Id

    Optional.

    Declaration
    [JsonProperty("id")]
    public string Id { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ImageLimit

    Optional. Max images to extract

    Declaration
    [JsonProperty("image_limit")]
    public int? ImageLimit { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    ImageMinSize

    Optional. Minimum height and width of image to extract

    Declaration
    [JsonProperty("image_min_size")]
    public int? ImageMinSize { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    IncludeImageBase64

    Optional. Include image URLs in response

    Declaration
    [JsonProperty("include_image_base64")]
    public bool? IncludeImageBase64 { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    Model

    Required.

    Declaration
    [JsonProperty("model")]
    public string Model { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Pages

    Optional. Specific pages user wants to process.

    Declaration
    [JsonProperty("pages")]
    public int[] Pages { get; set; }
    Property Value
    Type Description
    int[]

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation