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.11.tar.gz
(14.8 kB
view details)
Built Distribution
vijil-0.1.11-py3-none-any.whl
(16.5 kB
view details)
File details
Details for the file vijil-0.1.11.tar.gz
.
File metadata
- Download URL: vijil-0.1.11.tar.gz
- Upload date:
- Size: 14.8 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 | e7a46ee101ce006779426fc8026b012dd5185aa77f04b11d5e636e079741f416 |
|
MD5 | 1ca22e9b33eb46874c408cc32eb9d478 |
|
BLAKE2b-256 | 41d1ccee9d43c77cf02b8d21cdf31994d4f194a9b14c7a4c8f5838c59d88497a |
File details
Details for the file vijil-0.1.11-py3-none-any.whl
.
File metadata
- Download URL: vijil-0.1.11-py3-none-any.whl
- Upload date:
- Size: 16.5 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 | b22c05dd31eb2271a06dd5bdb3cb356aabd5525ecbff8e1c35194fa3a10be3a2 |
|
MD5 | 63d7a6f9076c37afbb93f03cd917eee2 |
|
BLAKE2b-256 | ccb1070ca3bb3026fd6b3c7106b7639f6e2a8b845eed7198e6a3e5ea035a9364 |