alpha version of YandexGPT package for Python.
Project description
YandexGPT Python Library
What is this?
This library allows you work with YandexGPT using Python and implement it to your projects.
Setup
pip install yagpt-py
Usage
import os
from yagpt_py.authData import AuthData
from yagpt_py.messages import Messages
from yagpt_py.response import Response
token = AuthData.Token = os.getenv('IAM_token')
folder_id = AuthData.CatalogID = os.getenv('catalog_id')
message = Messages.user = 'Tell me poem about misfit developer.'
response = Response(token, folder_id, message)
print(response.getResponse())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yagpt_py-0.0.5.tar.gz
(2.7 kB
view hashes)