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.7.tar.gz
(14.1 kB
view details)
Built Distribution
vijil-0.1.7-py3-none-any.whl
(15.8 kB
view details)
File details
Details for the file vijil-0.1.7.tar.gz
.
File metadata
- Download URL: vijil-0.1.7.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 | b2b6337d71e05631f01b6bd9452691433f510352ca569df2257f73aa314da261 |
|
MD5 | b3627ad91c90f5ca4b7e333fff592f6d |
|
BLAKE2b-256 | 1bde64eebcb44d929feb80f250d3b4e9ddf9534b19163c067840ee1752f7c0cb |
File details
Details for the file vijil-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: vijil-0.1.7-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 | f2937149f9a1bf69e3b7690bb1a715e1c7585bedbb30dfc04a6f3937982ae903 |
|
MD5 | d4f956326f59d5499b521184c2ceec12 |
|
BLAKE2b-256 | afd752432e4c56d6fd98a6d8241fbaba9d4423dfe00548935ec6421cb59ad8da |