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.6.tar.gz
(14.1 kB
view details)
Built Distribution
vijil-0.1.6-py3-none-any.whl
(15.8 kB
view details)
File details
Details for the file vijil-0.1.6.tar.gz
.
File metadata
- Download URL: vijil-0.1.6.tar.gz
- Upload date:
- Size: 14.1 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 | 1bcde92167af305bf0a490c675c83a8024db434b304bbbf295dc02e8b4e15f89 |
|
MD5 | 56a3afe1586836f3bb0045e5a9dea350 |
|
BLAKE2b-256 | fb87244a71907cbf8c4b23f720da75a561c19290ae82693440e423803f9ad951 |
File details
Details for the file vijil-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: vijil-0.1.6-py3-none-any.whl
- Upload date:
- Size: 15.8 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 | 8bac397f34d25abb6610ff2372756f2befcdceccce5f202e4469f008d75ad5db |
|
MD5 | e9ed6cc2d87b17557859b9918c2aa8ea |
|
BLAKE2b-256 | eb51c53b08f00596eaa9a902ac08f6b0256b9361c3c0c7d004c5994b730d3876 |