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.3.tar.gz
(14.1 kB
view details)
Built Distribution
vijil-0.1.3-py3-none-any.whl
(15.8 kB
view details)
File details
Details for the file vijil-0.1.3.tar.gz
.
File metadata
- Download URL: vijil-0.1.3.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 | 2b67b7490d0be82e4b9c80a071cac6de2bd25e158f366f86dae78a07eb745aa1 |
|
MD5 | 5b13a3dea8ae7735cf33371818d62f38 |
|
BLAKE2b-256 | 941b036c8cc98ab04c0b618622f2c7e38f5d21669783b6805a9d212e09e77a89 |
File details
Details for the file vijil-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: vijil-0.1.3-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 | 537b377f6633314e7ccd65c5b12f29112e6d8d1dc15ea456002ad8c8ac8ad77e |
|
MD5 | 37de8780e0a008ba23f8f62f76e3ecc6 |
|
BLAKE2b-256 | b5ff7d04fc60a601b2c5ab643ac0e078de3bbdadc7c212f508dc0bde8b3a50ef |