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

Uploaded Source

Built Distribution

vijil-0.1.4-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vijil-0.1.4.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for vijil-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ebcf8fcd4702d27df7b52422d149a27eb9980d6d931eb6ca6782dd4bb9bb7a95
MD5 012eafc3f485d886935b0170423dfaaf
BLAKE2b-256 1ccb5705eb6c57bd7992df57815279760b3847e5380bff8dd8a0f263ac62a2c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vijil-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for vijil-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d5c8d0b67372a9ce87a6617acb499c000ad3f8745c7ea86759264a309f75e80c
MD5 08652ba9d2f20bf1d61a3118526a95ed
BLAKE2b-256 ae3b4a62904cc113d05a237135be6fb911cac7c78120ef6d18bbb586594e124d

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