Search Results for

    Show / Hide Table of Contents

    Class MistralOcrResult

    Inheritance
    object
    OcrDocument
    MistralOcrResult
    Implements
    ITextSource
    IUsageProvider
    Inherited Members
    OcrDocument.GetTextSource()
    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 MistralOcrResult : OcrDocument, ITextSource, IUsageProvider

    Properties

    | Edit this page View Source

    DocumentAnnotation

    Optional. Formatted response in the request_format if provided in json str

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

    Model

    Required. The model used to generate the OCR.

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

    Pages

    Required. List of OCR info for pages.

    Declaration
    [JsonProperty("pages")]
    public OCRPageObject[] Pages { get; set; }
    Property Value
    Type Description
    OCRPageObject[]
    | Edit this page View Source

    Text

    Declaration
    [JsonIgnore]
    public override string Text { get; }
    Property Value
    Type Description
    string
    Overrides
    OcrDocument.Text

    Methods

    | Edit this page View Source

    GetResults()

    Declaration
    public List<string> GetResults()
    Returns
    Type Description
    List<string>
    | Edit this page View Source

    GetUsage()

    Declaration
    public Usage GetUsage()
    Returns
    Type Description
    Usage

    Implements

    ITextSource
    IUsageProvider

    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