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.58.tar.gz
(33.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
vijil-0.1.58-py3-none-any.whl
(37.5 kB
view details)
File details
Details for the file vijil-0.1.58.tar.gz.
File metadata
- Download URL: vijil-0.1.58.tar.gz
- Upload date:
- Size: 33.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4440de235a25773629c42ee8c2f43f81ab9d1e2fd6e76e9bfa33a6a37fdc41a
|
|
| MD5 |
ac50de323d4c9428ff066fa868de8100
|
|
| BLAKE2b-256 |
e65879f539b38f946558c99b4e4d83c79a92a5ebbc8cd40d51ed4d3b87a84c2b
|
File details
Details for the file vijil-0.1.58-py3-none-any.whl.
File metadata
- Download URL: vijil-0.1.58-py3-none-any.whl
- Upload date:
- Size: 37.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
058ca1b28d5ee328f31c45fb59a25e2bb7dd9792e13f092b4fd9411569255bbb
|
|
| MD5 |
8333940e24d486dc382632e57ccefeec
|
|
| BLAKE2b-256 |
e889638136a85545e04fc54a0d6a200f45663e675a237caa1d04258cbac5dc9b
|