Cell API
    Preparing search index...

    Interface EmbeddingRequest

    Interface representing a request to an AI model. This interface encapsulates the necessary information required to interact with an AI model, including instructions or inputs (of generic type T) and additional model options. It provides a standardized way to send requests to AI models, ensuring that all necessary details are included and can be easily managed.

    interface EmbeddingRequest {
        inputs: string[];
        instructions: string[];
        options: EmbeddingOptions;
    }

    Hierarchy (View Summary)

    Index
    inputs: string[]

    The list of input strings for the embedding request.

    instructions: string[]

    Retrieves the instructions or input required by the AI model. The instructions or input required by the AI model

    The options for the embedding request.