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.49.tar.gz (31.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.49-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vijil-0.1.49.tar.gz
  • Upload date:
  • Size: 31.0 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.49.tar.gz
Algorithm Hash digest
SHA256 cfa8b37cc5e141568bd07e4229040f1c2d4b6ad824057266ab5625ccdd233421
MD5 8db9a9d20d3bb0bb428f727a0bca3723
BLAKE2b-256 d4967659e2d9c565256e868b6a8bc008e3ac625d0d2c27d1ff04e80dc4cce16b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vijil-0.1.49-py3-none-any.whl
  • Upload date:
  • Size: 34.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.49-py3-none-any.whl
Algorithm Hash digest
SHA256 18cb3744b79ed0b5a8ba8005c39dff69728ec9e2ece317c162a331b31a04f754
MD5 b24632528719ce1646c0961a29084160
BLAKE2b-256 f8602b0744dd21789e1c34cbc692e2c66ff53679fbff8cfb94e05f3ded03f462

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