Interface for the input parameters specific to the Cohere model.

interface CohereInput {
    apiKey?: string;
    maxTokens?: number;
    model?: string;
    temperature?: number;
}

Hierarchy (view full)

Implemented by

Properties

apiKey?: string
maxTokens?: number

Maximum number of tokens to generate in the completion.

model?: string

Model to use

temperature?: number

Sampling temperature to use

Generated using TypeDoc