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.2.tar.gz (2.4 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.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

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

Hashes for unvii-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ea76e3f23c964e54145cf8e1af1c88c70bb4674985df873229086cde4d9619df
MD5 3a5c7c2a06e21b9f85d8d450cbd226bb
BLAKE2b-256 34d48f63499fabfc0d241da9d7e9584add936516eb03b809be586fd3ae6eb2a7

See more details on using hashes here.

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

Hashes for unvii-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 83f1555fd087d5afa46932d09cc6b18112cd49019ad676e9807f7c9e1a198a1b
MD5 47c63f0c2d9d944bdf76d1d482ea85a6
BLAKE2b-256 22321dd6f6a3070b1a638c8eaef438b05f680f3547551041dbce10e212776d25

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