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.48.tar.gz
(31.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
vijil-0.1.48-py3-none-any.whl
(34.8 kB
view details)
File details
Details for the file vijil-0.1.48.tar.gz.
File metadata
- Download URL: vijil-0.1.48.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.11 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d7d8d03199cbfabb3594aed4cce9fb1f615fba21ba4f93e3d5f5776cebab2b7
|
|
| MD5 |
8610c19e0ecdaf20d4dff940a7ae5ec9
|
|
| BLAKE2b-256 |
eb44098d32e1a6613608663ffe485572a7cf5c5896f50768a819a8ef55115cee
|
File details
Details for the file vijil-0.1.48-py3-none-any.whl.
File metadata
- Download URL: vijil-0.1.48-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.11 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d09bfb4a47f3254968589fb256036aca4742da962a9c7b95597abbd406bf841e
|
|
| MD5 |
091853bafcc035b3da808e0c857bee20
|
|
| BLAKE2b-256 |
7ea0065cda8cde47ef46e931ba6b7774dab07f68258ad614c2d8ba24e0b59b35
|