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.2.tar.gz
(14.1 kB
view details)
Built Distribution
vijil-0.1.2-py3-none-any.whl
(15.8 kB
view details)
File details
Details for the file vijil-0.1.2.tar.gz
.
File metadata
- Download URL: vijil-0.1.2.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 | 97a934d1e115c4f9adce3a6625bf8d88d509d9ba192b89dbba1a24a6bf393574 |
|
MD5 | 2b157a1824533eafa955e0bd57bc64f5 |
|
BLAKE2b-256 | 587fe0cf283208628acd886e1da1be3a533372118a581efee30f4f32a59345a7 |
File details
Details for the file vijil-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: vijil-0.1.2-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 | 33b13a70ba85d7b22e39e671830dd1520d557206338596848d4a6866b4e4446e |
|
MD5 | e6dcdb38cf40a23f80229eb7e776ed07 |
|
BLAKE2b-256 | 39f17fa7764d14bb1b736adf7eac4ba9fb6d117f585931a307fd53ba5e917724 |