Explains a given document Source in any language in a specified output language and language level.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ISO 639-1 code for the language in which the Explanation should be generated.
Supported Languages:
ar, bs, cs, de, es, en, fa, fr, hr, hu, it, pl, ro, sk, sl, sr, tl, tr, uk, zh "en"
One of three language levels for the generated text:
simple, plain, detailed "plain"
The unique identifier of the uploaded Source to be used as context for the Explanation.
29"src_dmZ7imKLaPcQnv5ckvGlOEAA7"
The conversation history. For an initial Explanation just provide an empty array or no messages. For follow-up questions, provide the entire conversation history.
50[]Whether the response should be returned as Markdown formatted text. If 'false', the response will be returned in plain text.
true
OK
The unique identifier of the Project this Explanation was assigned to. The Explanation will be assigned to the project_id of the Source.
28"pj_avX7imfLaPcQnv5ckvGlOEBA9"
The ISO 639-1 code for the language in which the Explanation should be generated.
Supported Languages:
ar, bs, cs, de, es, en, fa, fr, hr, hu, it, pl, ro, sk, sl, sr, tl, tr, uk, zh "en"
One of three language levels for the generated text:
simple, plain, detailed "plain"
The unique identifier of the uploaded Source that was used as context for the Explanation.
29"src_dmZ7imKLaPcQnv5ckvGlOEAA7"
Represents a message within an Explanation or a Knowledge Base Chat.
For Explanations - An assistant message is either an initial Explanation for the document when no messages were provided in the request or an answer to a user message in the provided conversation history.
{
"role": "assistant",
"content": "Hi!\nThe co-founders of Totoy are Benedikt Hielscher, Francis Rafal, Marcel Koller, Michael Perger and Simon Hoffmann.[R1]"
}Whether the response is a Markdown formatted text.
true