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
Release history Release notifications | RSS feed
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.10.tar.gz
(14.8 kB
view details)
Built Distribution
vijil-0.1.10-py3-none-any.whl
(16.4 kB
view details)
File details
Details for the file vijil-0.1.10.tar.gz
.
File metadata
- Download URL: vijil-0.1.10.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.5 Linux/6.9.3-76060903-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73e6f9e0e1963951bba4a64ba8ace5e4edbec50984368053eca46410c8b5c32e |
|
MD5 | 4e7df72bbabe13851997037e5a93b6ea |
|
BLAKE2b-256 | 60680ae167de1e796a7b715d70fa7377ba4c7dfcb5b7c36d5d86fa73d507db8e |
File details
Details for the file vijil-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: vijil-0.1.10-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.5 Linux/6.9.3-76060903-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d0f70562a7862240d5d8f4d1bb426235b25f743d0dd413434b006ddd772d47e |
|
MD5 | 33554bebee9aa4bf3545c69ec2a808ba |
|
BLAKE2b-256 | db282e0abe45e676d59e890e115556bbfbe041e2916d7a2bbf055b6ac10fcc6d |