Skip to main content

Galileo Luna2 evaluator for agent-control

Project description

Agent Control Evaluator - Galileo

Galileo Luna2 evaluator for agent-control.

Installation

pip install agent-control-evaluator-galileo

Or via the convenience extra from the main evaluators package:

pip install agent-control-evaluators[galileo]

Available Evaluators

Name Description
galileo.luna2 Galileo Luna-2 runtime protection

Configuration

Set the GALILEO_API_KEY environment variable:

export GALILEO_API_KEY=your-api-key

Usage

Once installed, the evaluator is automatically discovered:

from agent_control_evaluators import discover_evaluators, get_evaluator

discover_evaluators()
Luna2Evaluator = get_evaluator("galileo.luna2")

Or import directly:

from agent_control_evaluator_galileo.luna2 import Luna2Evaluator, Luna2EvaluatorConfig

config = Luna2EvaluatorConfig(
    stage_type="local",
    metric="input_toxicity",
    operator="gt",
    target_value=0.5,
    galileo_project="my-project",
)

evaluator = Luna2Evaluator(config)
result = await evaluator.evaluate("some text")

Documentation

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

agent_control_evaluator_galileo-5.0.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file agent_control_evaluator_galileo-5.0.0.tar.gz.

File metadata

File hashes

Hashes for agent_control_evaluator_galileo-5.0.0.tar.gz
Algorithm Hash digest
SHA256 11ed778dd35734db097a4ae2595cfc5be06ba06eeda5086855bb580a2fd16273
MD5 caf531925ed9c361904bba0389fdd42a
BLAKE2b-256 f4c08dc61d9aa1484b85f85474efbdf72a74d7b2b230432cd718d93b30858e73

See more details on using hashes here.

File details

Details for the file agent_control_evaluator_galileo-5.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_control_evaluator_galileo-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 937e4873f6efe0480f2873cb24e95c82600fdf427d702cfc7e30efb4d821fd52
MD5 5e252fa6b6f7162609b15950af483419
BLAKE2b-256 e949165739adf96e44368f506877193c18a3f1be25f47d951002fb0d1337b979

See more details on using hashes here.

Supported by

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