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.57.tar.gz (33.9 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.57-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vijil-0.1.57.tar.gz
  • Upload date:
  • Size: 33.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.14.0-1017-azure

File hashes

Hashes for vijil-0.1.57.tar.gz
Algorithm Hash digest
SHA256 0c5365bcd7de79f5c735f32d28934917f6b5ac0a1c451c71e1a0b9c0d20d5859
MD5 73ebaef3f07148f90292d78046543d4a
BLAKE2b-256 a3decbbfa2c5953836f88797209054af63d6ba43a8ac237d19272bf60fa97514

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vijil-0.1.57-py3-none-any.whl
Algorithm Hash digest
SHA256 f547065872632860f1b83f24368813c40fa32cc731c11c3a5285ab13f3771ce8
MD5 039e8b68f6cd611f60d6a353e0c861e0
BLAKE2b-256 ac188b46387f0f1980678cee4dd32b7ab216374ba9e92897e7581e74ae9828d4

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