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.57.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.57-py3-none-any.whl
(37.6 kB
view details)
File details
Details for the file vijil-0.1.57.tar.gz.
File metadata
- Download URL: vijil-0.1.57.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.14.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c5365bcd7de79f5c735f32d28934917f6b5ac0a1c451c71e1a0b9c0d20d5859
|
|
| MD5 |
73ebaef3f07148f90292d78046543d4a
|
|
| BLAKE2b-256 |
a3decbbfa2c5953836f88797209054af63d6ba43a8ac237d19272bf60fa97514
|
File details
Details for the file vijil-0.1.57-py3-none-any.whl.
File metadata
- Download URL: vijil-0.1.57-py3-none-any.whl
- Upload date:
- Size: 37.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.14.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f547065872632860f1b83f24368813c40fa32cc731c11c3a5285ab13f3771ce8
|
|
| MD5 |
039e8b68f6cd611f60d6a353e0c861e0
|
|
| BLAKE2b-256 |
ac188b46387f0f1980678cee4dd32b7ab216374ba9e92897e7581e74ae9828d4
|