Skip to main content

The module Xiver team use to work with gpt.

Reason this release was yanked:

Don`t use a non-working versions

Project description

Xiver GPT

The module we use to work with gpt

Basic usage

With default config

from xiver_gpt import XiverGPT


print(XiverGPT().create_response('Hello! How are u?'))

With another model or provider

from xiver_gpt import XiverGPT
import g4f


print(
    XiverGPT
            g4f_model=g4f.Model.your_model,
            g4f_provider=g4f.Provider.your_provider,
    ).create_reT(sponse('Hello! How are u?')
)

Attention

At the moment the initialization of the XiverGPT class object can be quite long due to the selection of a suitable provider. In the future the initialization time will be reduced many times!

Installation

$ pip install xiver_gpt

Installation from source

Dependencies:

  • poetry
$ git clone https://github.com/xiver/xiver-gpt.git; cd xiver_gpt-master
$ poetry install
$ poetry run build; cd dist
$ pip install $(ls -Art | tail -n 1)

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

xiver_gpt-0.0.1b0.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file xiver_gpt-0.0.1b0.tar.gz.

File metadata

  • Download URL: xiver_gpt-0.0.1b0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for xiver_gpt-0.0.1b0.tar.gz
Algorithm Hash digest
SHA256 e66dc94e72b68812bedc82201b6cfd213b17f343946dafea0521795f92052a93
MD5 456d9fb74b0aa1f53ef07e6bc76a29e0
BLAKE2b-256 deb412a54d0b0e97ee123190978366ea19cf57f7ade2a7ce8cd45a5ad2063df9

See more details on using hashes here.

Supported by

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