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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vijil-0.1.48.tar.gz
Algorithm Hash digest
SHA256 4d7d8d03199cbfabb3594aed4cce9fb1f615fba21ba4f93e3d5f5776cebab2b7
MD5 8610c19e0ecdaf20d4dff940a7ae5ec9
BLAKE2b-256 eb44098d32e1a6613608663ffe485572a7cf5c5896f50768a819a8ef55115cee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vijil-0.1.48-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.11 Linux/6.11.0-1018-azure

File hashes

Hashes for vijil-0.1.48-py3-none-any.whl
Algorithm Hash digest
SHA256 d09bfb4a47f3254968589fb256036aca4742da962a9c7b95597abbd406bf841e
MD5 091853bafcc035b3da808e0c857bee20
BLAKE2b-256 7ea0065cda8cde47ef46e931ba6b7774dab07f68258ad614c2d8ba24e0b59b35

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