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.1.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.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unvii-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d13ad52f036c60bbb6c0c9ba72eda028127dab777dbd19cf805ead81607e2df9
MD5 bb4ed999f21f359ac1047cfacc3ea9f1
BLAKE2b-256 bdc17036887652aa69341ca4ff097681ac873e84b0b3ec9c04ee0966fef6a133

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unvii-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 329be6bdd1571e6cf816a6aa56800c261e5f4b6ec45284f9cd505830616b958e
MD5 34b892c67f52a9fd10df0a07f6c2d6a0
BLAKE2b-256 72d2c7dbf7b5e8b5bdbc83c9cbe6a0558919bd83b14f18170132041ac5f6fccf

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