Interface for the input parameters specific to the Cohere model.

⚠️ Deprecated ⚠️

Use CohereInput from @langchain/cohere instead.

This feature is deprecated and will be removed in the future.

It is not recommended for use.

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