Summarize

TL;DR; - Generate summaries of textual input sources to return only their core essence.

In some settings, multiple documents or texts are needed to truly capture the full context of a topic. nokori Summarize supports taking multiple documents as input and returning a single, concise summary of all the provided context.


POST/v1/ai/summarize

Content Summarization

This endpoint allows you to summarize one or multiple documents to a concise, helpful summary.

Request Body Parameters

  • Name
    context
    Type
    array
    required
    Description

    The context you wish the service to use when generating the summary.

Request

POST
/v1/ai/summarize
curl https://api.nokori.com/v1/ai/summarize \
  -X POST
  -H 'x-nokori-api-key: {{apiKey}}'
  -D '{
      "context": [
          ["... a really long piece of text, article, etc."]
        ]
  }'

Response

{
    "generated": "... a short, helpful response.",
}