Using AI
Scorer
This document explains the Scorer node, which assigns numerical scores (0-100) to items based on custom criteria.
Node Inputs
Required Fields
- Item: The content to be scored
- Criteria: Rules for scoring (e.g., “Clarity: 0-30, Grammar: 0-40, Relevance: 0-30”)
Optional Fields
- Include Justification: Get AI’s reasoning for scores
- Additional Context: Extra guidance for scoring
- Temperature: Controls scoring consistency (0-1)
- 0: More focused, consistent
- 1: More creative, varied
- Cache Response: Save responses for reuse
Show As Input
The node allows you to configure certain parameters as dynamic inputs. You can enable these in the “Configure Inputs” section:
-
item: String
- The text or item to be scored
- Example: “Customer feedback response”
-
criteria: String
- The scoring criteria or rubric
- Example: “Score based on clarity, politeness, and helpfulness”
-
Additional Context: String
- Extra information to help with scoring
- Example: “This is feedback from a premium customer”
-
include_justification: Boolean
- true/false to include explanation for the score
- When enabled, provides reasoning for the assigned score
-
model_preference: String
- Name of the AI model to use
- Accepted values: “Claude 3.5 Sonnet”, “Claude 3 Haiku”, “GPT-4o”, “GPT-4o Mini”, etc.
-
Cache Response: Boolean
- true/false to enable/disable response caching
- Helps reduce API calls for identical inputs
-
Temperature: Number
- Value between 0 and 1
- Controls scoring consistency
When enabled as inputs, these parameters can be dynamically set by previous nodes in your workflow. If not enabled, the values set in the node configuration will be used.
Node Output
- Score: Numerical value between 0-100
- Justification: AI’s scoring explanation (if enabled)
Node Functionality
The Scorer node:
- Analyzes content against criteria
- Assigns numerical scores
- Provides scoring rationale
- Handles batch scoring
- Ensures consistent evaluation
Available AI Models
- Claude 3.5 Sonnet
- Claude 3 Haiku
- OpenAI o1
- OpenAI o1 mini
- GPT-4o
- GPT-4o Mini
- DeepSeek V3
- DeepSeek R1
- Gemini 1.5 Pro/Flash
- And more
Common Use Cases
- Content Quality:
- Support Responses:
- Product Reviews:
Loop Mode
Important Considerations
- Expert models (OpenAI o1) cost 30 credits, advanced models (GPT-4o & Claude 3.5) cost 20 credits, and standard models cost 2 credits per run
- You can drop the credit cost to 1 by providing your own API key under the credentials page
- Define clear, measurable criteria for accurate output
- Enable justification for transparency
In summary, the Scorer node helps quantify quality and performance using AI-powered assessment against your custom criteria.