Skip to main content

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


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.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

unvii-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file unvii-0.1.0.tar.gz.

File metadata

  • Download URL: unvii-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for unvii-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bc48c63811feac87834b0363b33432c8b1110fe48f351e96de9ed58cd89dbd1d
MD5 cb0be37b76ec88a1e6570b8c43084b9f
BLAKE2b-256 43cbea2b01f882f5881763999b411ba9e7f53bbff51102a71940030abc37824b

See more details on using hashes here.

File details

Details for the file unvii-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: unvii-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for unvii-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8deca07f0ae2763c7bb702f1b3e3b533e2a9cc8e49fc367b227ae19e57d280a7
MD5 bec06393a5b78d4e1c22ccf22e1634bd
BLAKE2b-256 11855e738abe7026dedc0236328083273459faa645de8a766b0d660b3ce94596

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