langchain.js
    Preparing search index...

    Prefer @langchain/yandex

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    apiKey?: string

    Yandex Cloud Api Key for service account with the ai.languageModels.user role.

    iamToken?: string

    Yandex Cloud IAM token for service account with the ai.languageModels.user role.

    lc_serializable: boolean = true
    maxTokens: number = 1700

    Maximum limit on the total number of tokens used for both the input prompt and the generated response.

    model: string = "general"

    Model name to use.

    temperature: number = 0.6

    What sampling temperature to use. Should be a double number between 0 (inclusive) and 1 (inclusive).

    Accessors

    • get lc_secrets(): undefined | { [key: string]: string }

      Returns undefined | { [key: string]: string }

    Methods

    • Returns string

    • Returns string