Client SDK for the Unvii conversational AI API.
Project description
Unvii Client SDK
Install
pip install .
Usage
from unvii import Model, generate_api_key
BASE_URL = "https://unvii.onrender.com"
api_key = generate_api_key(base_url=BASE_URL)
model = Model(api_key=api_key, system_prompt="You are concise and helpful.", base_url=BASE_URL)
reply = model.generate_text("Explain black holes in two sentences.")
print(reply)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
unvii-0.1.2.tar.gz
(2.4 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
unvii-0.1.2-py3-none-any.whl
(2.6 kB
view details)
File details
Details for the file unvii-0.1.2.tar.gz.
File metadata
- Download URL: unvii-0.1.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea76e3f23c964e54145cf8e1af1c88c70bb4674985df873229086cde4d9619df
|
|
| MD5 |
3a5c7c2a06e21b9f85d8d450cbd226bb
|
|
| BLAKE2b-256 |
34d48f63499fabfc0d241da9d7e9584add936516eb03b809be586fd3ae6eb2a7
|
File details
Details for the file unvii-0.1.2-py3-none-any.whl.
File metadata
- Download URL: unvii-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83f1555fd087d5afa46932d09cc6b18112cd49019ad676e9807f7c9e1a198a1b
|
|
| MD5 |
47c63f0c2d9d944bdf76d1d482ea85a6
|
|
| BLAKE2b-256 |
22321dd6f6a3070b1a638c8eaef438b05f680f3547551041dbce10e212776d25
|