Scores the linkage between textual instructions and the resulting image based on specified criteria. This evaluation ensures that the image accurately reflects the instructions provided, adhering to the defined evaluation criteria. A high score indicates strong alignment between the instructions and the image, 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 instruction or textual description associated with the image. |
image_url | string | The URL of the image being evaluated. | |
Configuration Parameters | criteria | string | The evaluation standard that defines how the alignment is measured. |
Output | Type | Description |
---|---|---|
Score | float | Returns a score between 0 and 1, where higher values indicate better alignment. |