Cell API
    Preparing search index...

    Interface ModelRequest<T>

    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 ModelRequest<T> {
        instructions: T;
        options: ModelOptions;
    }

    Type Parameters

    • T

      the type of instructions or input required by the AI model

    Hierarchy (View Summary)

    Index
    instructions: T

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

    options: ModelOptions

    Retrieves the customizable options for AI model interactions. The customizable options for AI model interactions