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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vijil-0.1.53.tar.gz
Algorithm Hash digest
SHA256 6f728608f6c06a600e7e635c803bf3c8550133878a034b3f33d6eb33f4793fe5
MD5 7b1097fbe43d2a65f75bed3cb0f27af1
BLAKE2b-256 3e2edb9cb6762b6f7ed8a1b082cbbd41ac0cb2380b496b63ec8db9ddc358e251

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vijil-0.1.53-py3-none-any.whl
Algorithm Hash digest
SHA256 1afb8b2cbead917a8ef94bd870d2401d44c967ae5da15ec0cd81cc4df59b9414
MD5 76ae5a758cfeecc523152f863bf4733a
BLAKE2b-256 194b0dcb459ecdccbdc40f3c44b6623fb70de0ac2c0b8533f14d9ff1e7022ea5

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