Interface for the input parameters specific to the Cohere model.

Use CohereInput from @langchain/cohere instead.

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

""