v1

latestOpenAPI 3.0.02026-07-1346146138.4 KB
evaluators

Execute char-count evaluator

Count the number of characters in text

Request Body:

  • input.text (string, required): The text to count characters in
post/v2/evaluators/char-count/execute

Request body

Example request

{
  "input": {
    "text": "Hello, world! This is a sample text."
  }
}

Response

OK

char_countinteger

Example response

{
  "char_count": 42
}