Judgeval Python-v0 SDKResponse Types
PromptScorer
Class instances for scorer configuration and management
Class instances returned by PromptScorer.get() that provide scorer configuration and management methods.
Usage Pattern
# Create your scorer on the Judgment platform first, then retrieve it
scorer = PromptScorer.get(name="positivity_scorer")
# PromptScorer instances provide configuration methods
print(scorer.get_name()) # Access properties
scorer.set_threshold(0.8) # Update configuration
scorer.append_to_prompt("Consider tone and sentiment.") # Modify promptDocumentation
See PromptScorer for complete API documentation including:
- Static method (
PromptScorer.get()) - Configuration methods (
.set_prompt(),.set_options(),.set_threshold()) - Getter methods (
.get_prompt(),.get_options(),.get_config())
Last updated on