Pi lets you evaluate and control LLM applications without specialized ML expertise, whether they are
conversational, generative, or agentic.Our core technology is a deterministic, fast foundation model that assigns a score to any question, like “Is this
response relevant to the user’s request?”, or “Is all the information needed to answer the question present?”Our copilot helps you build, test, and calibrate these questions with examples. You can then use these questions, in real-time, to control applications and training workflows.
Pass questions to the Score
API to see how it responds
Copy
from withpi import PiClientpi = PiClient()scores = pi.scoring_system.score( llm_input="Pi Labs", llm_output="Score anything with Pi Labs today!", scoring_spec=[{"question": "Is there a strong call to action?"}])print(scores.total_score)