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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vijil-0.1.8.tar.gz
  • Upload date:
  • Size: 14.1 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.8.tar.gz
Algorithm Hash digest
SHA256 2f50214c503aa979fe67e91d54f6e2f56a573640417f788f471c6dc71eb0b0d3
MD5 35e3cae3929b0e404495f235297f1185
BLAKE2b-256 75818d4336d94a0d17539a0801efd07afff284640bf5acfe17c3f85555407ba8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vijil-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 15.8 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2fcad9bb7de78f56bad7e71c0cc1dd8dac5bbdba2f9c6820253b9f1503592950
MD5 b0db5490101e4ea0f4cb966a9e0241ad
BLAKE2b-256 9058e1418b4bb08a18b41c09f614534f48cb6cd729ad8c361ae056c3f6806afc

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