Skip to main content

No project description provided

Project description

BAIChat API Python

Installation

Pypi

pip install baichat-py

Codeberg

pip install --index-url https://codeberg.org/api/packages/Bavarder/pypi/simple/ baichat-py

Usage

from baichat_py import Completion

prompt = "Hello, world!"
for token in Completion.create(prompt):
    print(token, end="", flush=True)
    print("")

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

baichat_py-0.3.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

baichat_py-0.3.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

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