Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yagpt_py-0.0.5-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

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

Hashes for yagpt_py-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6d2fc19ffa62ef3cba27d5992f5e860773ca5a18081f5c997b84e74b2c6f3dd1
MD5 2e4f9d5dc853c3c8428b0f2de2c9d911
BLAKE2b-256 ebd912859c140334729d1140dc63d6f122168cb2a8dc30d2143ce8c83f661a83

See more details on using hashes here.

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

Hashes for yagpt_py-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e4d05532724a2048fa05167f2b6b588ffae8ca46640b12a77451a218c4866496
MD5 bc19878c34e3c26bc82cb4bcc7a30391
BLAKE2b-256 d75a9c1e4cc693bfe01122cb3ace365bb4d05d41bc7f2e0d60cd97c46ed2d114

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page