Skip to main content

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


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

Uploaded Source

Built Distribution

vijil-0.1.13-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vijil-0.1.13.tar.gz
  • Upload date:
  • Size: 15.6 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.13.tar.gz
Algorithm Hash digest
SHA256 8a95dc535c77bde577b83c0f6b5af9aacdcfd1f058b975fd1096b086d3c2bbc9
MD5 0355fbb66b7a978967fccab8405ca2e4
BLAKE2b-256 7b3487106127996a736a421c02273f8ebee96f91bcb2bb7f7522496adf22a522

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vijil-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 17.2 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 d9920f2c351ece008a14f3d8d1f705cd5372123a46ad696713b98727464c117a
MD5 a9da84876dce39ac061d63aba86e6f97
BLAKE2b-256 584cc37e81a81adfd0cef266d297e385e184040595fe79afd3a296f367ddb8d6

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