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.50.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.50-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vijil-0.1.50.tar.gz
Algorithm Hash digest
SHA256 30100f68a4d039d00bda4cb88e5f1c38665bb5e8d77e5eb1d8fb1fdbf66af08f
MD5 d9877118faf03bee96a3906efedaeae1
BLAKE2b-256 dd02e5af11ea372f584f7f73928e9c98b1990d09005c2a33f224655f54892695

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vijil-0.1.50-py3-none-any.whl
Algorithm Hash digest
SHA256 051cb56e5e4cbd98e1cfc32e532e07702caacdb900c2520d336085a5f9921ab4
MD5 662a6ff6b3be72262f0c0d1dfea86620
BLAKE2b-256 a7fb167e1b0f0283550595ed3274d320d4724da2b2c7c9bc5bd84658ce9b6d84

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