Evaluation Using Interface
Input:- Required Inputs:
- input: The text or instruction column that serves as the reference for evaluation.
- rule_prompt: A guideline or rule column used to measure the linkage. This can include dynamic placeholders (e.g., {{column_name}}).
- Optional Inputs:
- Note: While the definition mentions input/output images, the provided parameters focus on text/instruction and rule prompt. Add image inputs here if they are configurable via the interface.
- Score: Percentage score between 0 and 100
- Higher scores: Indicate strong alignment and coherence between the input/instruction and the rule prompt.
- Lower scores: Suggest discrepancies or misalignment.
Evaluation Using Python SDK
Click here to learn how to setup evaluation using the Python SDK.
Input Type | Parameter | Type | Description |
---|---|---|---|
Required Inputs | input | string | The text or instruction that serves as the reference for evaluation. |
rule_prompt | string | A guideline or rule used to measure the linkage. | |
Optional Inputs | Add image parameters here if applicable via SDK |
Output | Type | Description |
---|---|---|
Score | float | Returns a score between 0 and 1, where higher values indicate better alignment/coherence. |