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.54.tar.gz
(33.0 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.54-py3-none-any.whl
(36.7 kB
view details)
File details
Details for the file vijil-0.1.54.tar.gz.
File metadata
- Download URL: vijil-0.1.54.tar.gz
- Upload date:
- Size: 33.0 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d74dbecbd206ab5cf7b02a5c692587764e27679aaae6a7e0ec6d2f22cf90685
|
|
| MD5 |
65e2d04d51b80483a89e0ff463d79502
|
|
| BLAKE2b-256 |
ba2ace9311fb03b17aacda2837dea12fdd62e5fb0f1a221cedbd8660305b2a92
|
File details
Details for the file vijil-0.1.54-py3-none-any.whl.
File metadata
- Download URL: vijil-0.1.54-py3-none-any.whl
- Upload date:
- Size: 36.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1da369da564b4abfac1fcf39dfe7e375310b9e1035b3b868bdeaabf056f8b6ac
|
|
| MD5 |
14770edb08a9a3be0ce07c504791c638
|
|
| BLAKE2b-256 |
6ca36c91e110fce0917c6682341ed1d4ee6bd49f65a918b776dfb69c3ebb0600
|