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.12.tar.gz
(15.5 kB
view details)
Built Distribution
vijil-0.1.12-py3-none-any.whl
(17.1 kB
view details)
File details
Details for the file vijil-0.1.12.tar.gz
.
File metadata
- Download URL: vijil-0.1.12.tar.gz
- Upload date:
- Size: 15.5 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 | 84a7545bad5d347fd17070c6ff7262b8d90df214001cabde4b14b1ecc0ef4c70 |
|
MD5 | debfdd80563177f5d909269f30304dea |
|
BLAKE2b-256 | deb90b1ce3a7e6a9e4229bce8a89e8d6f64d7d60b3531efaabc57643978ee50d |
File details
Details for the file vijil-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: vijil-0.1.12-py3-none-any.whl
- Upload date:
- Size: 17.1 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 | df608a7753c44909473e6d37ba930fadac817c6f16f4a81002be5b849047fa2d |
|
MD5 | e06acd64ad87e70b73435c292643066a |
|
BLAKE2b-256 | 6f31f5e5404274c10ce9516b58d262a3dbfd6fab673eefe0e131b7a067286817 |