Hierarchy

Implements

Constructors

Properties

maxTokens: number = 1700

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

model: string = "yandexgpt-lite"

Model name to use.

modelVersion: string = "latest"

Model version to use.

temperature: number = 0.6

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

apiKey?: string

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

folderID?: string

Yandex Cloud Folder ID

iamToken?: string

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

modelURI?: string

Model URI to use.

Generated using TypeDoc