v1
latestOpenAPI 3.0.02026-07-1346146138.4 KBevaluators
Execute html-comparison evaluator
Compare two HTML documents for structural and content similarity
Request Body:
- input.html1 (string, required): The first HTML document to compare
- input.html2 (string, required): The second HTML document to compare
post/v2/evaluators/html-comparison/execute
Request body
Example request
{
"input": {
"html1": "<html><body><h1>Hello, world!</h1></body></html>",
"html2": "<html><body><h1>Hello, world!</h1></body></html>"
}
}Response
OK
Example response
{
"similarity_score": 0.92
}