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 details)
Built Distribution
File details
Details for the file baichat_py-0.3.0.tar.gz
.
File metadata
- Download URL: baichat_py-0.3.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.11 Linux/6.1.29
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a411ec897e6b1ffde175c40481886cbae2adca8e68eeaa209b693851c959715 |
|
MD5 | 7eac7a69195b76d706cca96bf8b08d80 |
|
BLAKE2b-256 | c8011d4e827b5a3555d9c9a5c035d00a9d0bb84d121b6625772abbc09e35574a |
File details
Details for the file baichat_py-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: baichat_py-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.11 Linux/6.1.29
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa641939844ea364dcee0c4f40cdca2c42b7d6ed5f0cb360c29f7e35300259d0 |
|
MD5 | 2040f50e7715b574a603a50ba081086c |
|
BLAKE2b-256 | 6fa9aad1eb9134fe0574b281ad1308fe029cf4ec1ba49ba0a061a18dd3ced789 |