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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vijil-0.1.54-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vijil-0.1.54.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.1 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for vijil-0.1.54.tar.gz
Algorithm Hash digest
SHA256 1d74dbecbd206ab5cf7b02a5c692587764e27679aaae6a7e0ec6d2f22cf90685
MD5 65e2d04d51b80483a89e0ff463d79502
BLAKE2b-256 ba2ace9311fb03b17aacda2837dea12fdd62e5fb0f1a221cedbd8660305b2a92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vijil-0.1.54-py3-none-any.whl
  • Upload date:
  • Size: 36.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.1 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for vijil-0.1.54-py3-none-any.whl
Algorithm Hash digest
SHA256 1da369da564b4abfac1fcf39dfe7e375310b9e1035b3b868bdeaabf056f8b6ac
MD5 14770edb08a9a3be0ce07c504791c638
BLAKE2b-256 6ca36c91e110fce0917c6682341ed1d4ee6bd49f65a918b776dfb69c3ebb0600

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