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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yagpt_py-0.0.5.tar.gz.
File metadata
- Download URL: yagpt_py-0.0.5.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d2fc19ffa62ef3cba27d5992f5e860773ca5a18081f5c997b84e74b2c6f3dd1
|
|
| MD5 |
2e4f9d5dc853c3c8428b0f2de2c9d911
|
|
| BLAKE2b-256 |
ebd912859c140334729d1140dc63d6f122168cb2a8dc30d2143ce8c83f661a83
|
File details
Details for the file yagpt_py-0.0.5-py3-none-any.whl.
File metadata
- Download URL: yagpt_py-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4d05532724a2048fa05167f2b6b588ffae8ca46640b12a77451a218c4866496
|
|
| MD5 |
bc19878c34e3c26bc82cb4bcc7a30391
|
|
| BLAKE2b-256 |
d75a9c1e4cc693bfe01122cb3ace365bb4d05d41bc7f2e0d60cd97c46ed2d114
|