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.56.tar.gz (33.1 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.56-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vijil-0.1.56.tar.gz
Algorithm Hash digest
SHA256 861230cd2c863c5532c5f5b0952a3944f31d2469463234777f96b9c71e92913e
MD5 f2e574806c5c3a3dbca90feba25725ea
BLAKE2b-256 f89d5a99ec29c04bc7aa9901a3e3ab0d58621c1e3c3c6638c95ca47913397095

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vijil-0.1.56-py3-none-any.whl
Algorithm Hash digest
SHA256 5a0e6bd747094c7087a75cb24ff7450386b701bc76fc969e5c125ef71a437a66
MD5 7c2146e748e7953c16757934311852b3
BLAKE2b-256 477daf26fdf4eabd9979584b8546d1f25434f3f8ab7b2d2187ce7d66b568f1a8

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