Scores the linkage between instructions, input images, and output images. This evaluation ensures that the output images accurately reflect the instructions and input images, adhering to the defined evaluation criteria. A high score indicates strong alignment and coherence, while a low score suggests discrepancies or misalignment.
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. |