YandexGPTConfigManagerForIAMTokenWithBase64Key#
- class yandex_gpt.YandexGPTConfigManagerForIAMTokenWithBase64Key(model_type: str | None = None, catalog_id: str | None = None, iam_token: str | None = None)#
Bases:
YandexGPTConfigManagerForIAMTokenA specialized configuration manager for YandexGPT that handles base64-encoded private keys. This is particularly useful in environments like Docker where special characters (e.g., newline) in environment variables can cause issues. The private key is expected to be set in the YANDEX_GPT_PRIVATE_KEY_BASE64 environment variable.
Inherits attributes from YandexGPTConfigManagerForIAMToken.