yandexcloud python package installed.
ai.languageModels.user role.
Next, you have two authentication options:
- IAM token.
You can specify the token in a constructor parameter
iam_tokenor in an environment variableYC_IAM_TOKEN. - API key
You can specify the key in a constructor parameter
api_keyor in an environment variableYC_API_KEY.
model_uri parameter, see the documentation for more details.
By default, the latest version of text-search-query is used from the folder specified in the parameter folder_id or YC_FOLDER_ID environment variable.
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.