Creates a Knowledge Base Chat Response for the given Messages.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique identifier for a Knowledge Base
.
28
Body
One of three language levels for the generated text:
- Simple Language: Answers are short and simple, using easy words and a clear structure.
- Plain Language: Answers are short and the assistant explains complicated terms.
- Detailed Language: Answers are not simplified and the assistant answers in detail.
simple
, plain
, detailed
The conversation history. Provide at least one user message to start the conversation.
The ISO 639-1 code for the language in which the Explanation
should be generated.
Supported Languages:
- ar: Arabic
- bs: Bosnian
- cs: Czech
- de: German
- es: Spanish
- en: English
- fa: Farsi
- fr: French
- hr: Croatian
- hu: Hungarian
- it: Italian
- pl: Polish
- ro: Romanian
- sk: Slovak
- sl: Slovenian
- sr: Serbian
- tl: Tagalog
- tr: Turkish
- uk: Ukrainian
ar
, bs
, cs
, de
, es
, en
, fa
, fr
, hr
, hu
, it
, pl
, ro
, sk
, sl
, sr
, tl
, tr
, uk
Whether the response should be returned as Markdown formatted text. If 'false', the response will be returned in plain text.
Response
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.
The unique identifier of the Knowledge Base
that was used for the Chat
.
28
One of three language levels for the generated text:
- Simple Language: Answers are short and simple, using easy words and a clear structure.
- Plain Language: Answers are short and the assistant explains complicated terms.
- Detailed Language: Answers are not simplified and the assistant answers in detail.
simple
, plain
, detailed
Whether the response is a Markdown formatted text.
The ISO 639-1 code for the language in which the Explanation
should be generated.
Supported Languages:
- ar: Arabic
- bs: Bosnian
- cs: Czech
- de: German
- es: Spanish
- en: English
- fa: Farsi
- fr: French
- hr: Croatian
- hu: Hungarian
- it: Italian
- pl: Polish
- ro: Romanian
- sk: Slovak
- sl: Slovenian
- sr: Serbian
- tl: Tagalog
- tr: Turkish
- uk: Ukrainian
ar
, bs
, cs
, de
, es
, en
, fa
, fr
, hr
, hu
, it
, pl
, ro
, sk
, sl
, sr
, tl
, tr
, uk
The Project
that the Knowledge Base
is assigned to.
28