interface ChromeAIInputs {
    promptFormatter?: ((messages) => string);
    temperature?: number;
    topK?: number;
}

Hierarchy (view full)

Properties

promptFormatter?: ((messages) => string)

An optional function to format the prompt before sending it to the model.

Type declaration

    • (messages): string
    • An optional function to format the prompt before sending it to the model.

      Parameters

      • messages: BaseMessage[]

      Returns string

temperature?: number
topK?: number

Generated using TypeDoc