langchain.js
    Preparing search index...

    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 Summary)

    Implemented by

    Index

    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