v1
latestOpenAPI 3.0.02026-07-1346146138.4 KBevaluators
Execute word-count evaluator
Count the number of words in text
Request Body:
- input.text (string, required): The text to count words in
post/v2/evaluators/word-count/execute
Request body
Example request
{
"input": {
"text": "This is a sample text with several words."
}
}Response
OK
Example response
{
"word_count": 10
}