Cell API
    Preparing search index...

    Interface ModelResult<T>

    This interface provides methods to access the main output of the AI model and the metadata associated with this result. It is designed to offer a standardized and comprehensive way to handle and interpret the outputs generated by AI models, catering to diverse AI applications and use cases.

    interface ModelResult<T> {
        metadata: ResultMetadata;
        output: T;
    }

    Type Parameters

    • T

      the type of the output generated by the AI model

    Hierarchy (View Summary)

    Index
    metadata: ResultMetadata

    Retrieves the metadata associated with the result of an AI model. The metadata associated with the result

    output: T

    Retrieves the output generated by the AI model. The output generated by the AI model