cohere · Schema

DetokenizeResponse

Properties

Name Type Description
text string The text string resulting from detokenizing the input token IDs.
meta object Metadata about the API request.
View JSON Schema on GitHub

JSON Schema

cohere-detokenizeresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DetokenizeResponse",
  "title": "DetokenizeResponse",
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "The text string resulting from detokenizing the input token IDs."
    },
    "meta": {
      "type": "object",
      "description": "Metadata about the API request.",
      "properties": {
        "api_version": {
          "type": "object",
          "properties": {
            "version": {
              "type": "string",
              "description": "The API version used for the request."
            }
          }
        }
      }
    }
  }
}