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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vijil-0.1.55.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.55.tar.gz
Algorithm Hash digest
SHA256 20ba711bbcde45d9cebe5def0b6f41f80f441fb9d4830b2bf1b783b89a3d5c94
MD5 437b4fba5bb0b527b912af2cb6e6b026
BLAKE2b-256 3c8ea188de3228a3ef56a7c7d58157cb53f0013ed37ef266bf034045eeea0a0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vijil-0.1.55-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.55-py3-none-any.whl
Algorithm Hash digest
SHA256 5e277fec90058d1ebe392244c5972a45b5cd9d430863dda01cbb2900cec8ea14
MD5 eda11abfbe80f7313df808f4897041a1
BLAKE2b-256 ba4514b4db110493d99645d51492924f7c68ece4902f12bbe3972088e8b558c5

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