ℹ️ These docs are for current Galileo customers running v1.0. Docs for the v2.0 version of Galileo can be found here.
Learn how to turn on metrics when creating runs in your Python environment.
import promptquality as pq pq.run(..., scorers=[pq.Scorers.correctness, pq.Scorers.context_adherence])
pq.run(..., scorers=[pq.Scorers.correctness,pq.Scorers.context_adherence], scorers_config=pq.ScorersConfiguration(latency=False) )
pq.run(..., scorers_config=pq.ScorersConfiguration(latency=False, groundedness=True))
evaluate_run = pq.EvaluateRun(run_name="my_run", project_name="my_project", scorers=[pq.Scorers.correctness, pq.Scorers.context_adherence])
Was this page helpful?