Skip to main content

Python Client for Vijil

Project description

vijil-python

Python Client for Vijil

Setup

pip install git+https://github.com/vijilAI/vijil-python

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


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.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

vijil-0.1.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file vijil-0.1.0.tar.gz.

File metadata

  • Download URL: vijil-0.1.0.tar.gz
  • Upload date:
  • Size: 14.0 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

Hashes for vijil-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7927bdf1c71c4e22af13a9c53e460941b8f7033ad6156cf9501c8c8ec24913e2
MD5 d98e4814f38e6dedfcea929898e85b84
BLAKE2b-256 fe85ad50d285a4fd565af5cc984c1b1e2f3d97680829e679a2f4ecac6d18c83b

See more details on using hashes here.

File details

Details for the file vijil-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vijil-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.7 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

Hashes for vijil-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1561e704c485241724e67f1b22e2242c655b60bc5a48627efc42cade305b6a8f
MD5 0ca916b8a338f04864f5b57886937c74
BLAKE2b-256 d55450134eacd67a180380200f94803d87b85d99b472e46d893b01f1510f9674

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page