A simple example for using YandexGPT API with python.
How to run:
- Create
.env
file:
cp .env.sample .env
-
Replace "<IAM_TOKEN>" and "<FOLDER_ID>" with appropriate values. Follow Yandex API official instruction to get them
-
Run following command:
./run.sh
Done!