⚠️ Deprecated ⚠️

Prefer @langchain/yandex

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

It is not recommended for use.

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

Hierarchy

  • BaseLLMParams
    • YandexGPTInputs

Implemented by

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.

maxTokens?: number

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

model?: string

Model name to use.

temperature?: number

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

Generated using TypeDoc