Skip to main content

Python Client for Vijil

Project description

vijil-python

Python Client for Vijil

Setup

pip install -U vijil

Then initialize the client using

from vijil import Vijil

client = Vijil()

Requires a VIJIL_API_KEY, either loaded in the environment or suppllied as api_key argument above.

Run Evaluations

client.evaluations.create(
    model_hub="openai",
    model_name="gpt-3.5-turbo",
    model_params={"temperature": 0},
    harnesses=["ethics","hallucination"],
    harness_params={"sample_size": 5}
)

See the minimal example for more functionalities.

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

vijil-0.1.1.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

vijil-0.1.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vijil-0.1.1.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.5 Linux/6.9.3-76060903-generic

File hashes

Hashes for vijil-0.1.1.tar.gz
Algorithm Hash digest
SHA256 05f4958d0c272735fd81204c30c9d52f4c29ae9e4007cd1764068a81a6378b0b
MD5 5806bd11dcd8cb0315cac3e2c1e10d76
BLAKE2b-256 45cdd321973fbae21ab9d74873dddb530ed9f30e2a21facab800567ad278ab20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vijil-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.5 Linux/6.9.3-76060903-generic

File hashes

Hashes for vijil-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 305df5fb933470a10a3a3897fa2b991c1f1aa0ac84441738fb974011df96126a
MD5 50f7607a076d80be30a39974eb977224
BLAKE2b-256 6af7184c299bbab912e26f994a7fe10650aeb8a747370792e8f853a2fc6017d9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page