ℹ️ These docs are deprecated. Move to the current v2.0 Galileo docs.
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?