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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vijil-0.1.52.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.52.tar.gz
Algorithm Hash digest
SHA256 f4724e32776713a02213f2c5d92bf26cc32df000b9d2a5e029f8a112833580e0
MD5 5d7bcb85875ad113bb42ba7f759c8bb9
BLAKE2b-256 6d08895873a4ce0ceea46f37dd92c0980485be19d7c69e44f2125bccde6f51e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vijil-0.1.52-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.52-py3-none-any.whl
Algorithm Hash digest
SHA256 566a89da75d4d4b416a569503f65683614297e794994b3e10a1a3e8d16be9f7c
MD5 c144fd82845ce45e430311904f6377fc
BLAKE2b-256 3e0f90566a491a71f64c7d1fcf8bdadb712acf98523a2b7f255915b5c882d272

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