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

Uploaded Source

Built Distribution

vijil-0.1.9-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vijil-0.1.9.tar.gz
Algorithm Hash digest
SHA256 257be2be90c00c315f9e631eb8a4e1a83af1262af6cd10783b515526d8a6092b
MD5 3f22b55c21df89025048f0f88e797fdd
BLAKE2b-256 d9adef4b2b419d4503cec416836abb1cedcc2bde80d404bcee5d395320fede60

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vijil-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4ef7492ff58be448f7f7a0c4a879185fe31f3e136a3d875257afb7ba15d7cd4f
MD5 8b1ee0680e87ac916b1341f7d9a5e9eb
BLAKE2b-256 5d54bcad4a91c1aaeb5f0ff77b5082b63dcdd9399d74d4755ca8b4afc43127cc

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