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.5.tar.gz
(14.1 kB
view details)
Built Distribution
vijil-0.1.5-py3-none-any.whl
(15.8 kB
view details)
File details
Details for the file vijil-0.1.5.tar.gz
.
File metadata
- Download URL: vijil-0.1.5.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 | 7b5f4b1e5b6e4618e93850311e4ea5e12e412936886be3d5af5ff736ecdbd3ed |
|
MD5 | e4714a49b601b89ae4fcb1075d738571 |
|
BLAKE2b-256 | d5ca74fb2f49773fee18a9cc6b99ed1f24b4dc69de02135f3692d43f779a74c0 |
File details
Details for the file vijil-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: vijil-0.1.5-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 | 7fc5b5643f7304db5324b952084473d3a300ba1e968b3d1414b299f40ecd85f2 |
|
MD5 | 016751ffeebcd26a59209f3299bbe5a4 |
|
BLAKE2b-256 | fcd95071f9e64191525516eb7bb67849522c3042a6f8e3da472bbab7dcf3fcfc |