Verifies if the provided output is factually correct based on the given information or the absence thereof. It ensures that the output maintains factual integrity and does not introduce inaccuracies.
Click here to learn how to setup evaluation using the Python SDK.
Input Type | Parameter | Type | Description |
---|---|---|---|
Required Inputs | output | string | The output generated by the model. |
Optional Inputs | context | string | The context provided to the model. |
input | string | The input provided to the model. | |
Configuration Parameters | check_internet | bool | Whether to verify information using external sources. |
Output | Type | Description |
---|---|---|
Score | float | Returns a score between 0 and 1, where higher values indicate better factual accuracy. |