Chat with a Knowledge Bot
Testing
POST
/api/knowledge-bots/{id}/summarize
kbchat
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.crbnai.com/api/knowledge-bots//summarize' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
{"id":"c688c936-cf4d-4b64-b8be-8ea9cbf2a56e","content":"Quote 1 within the provided documents","similarity":0.87255812550904,"document_name":"source-document-1.pdf","page_number":2,"type":"section"}
{"id":"923edb1b-f731-4560-bb23-7a509aef4e79","content":"Quote n within the provided documents","similarity":0.87255812550904,"document_name":"source-document-n.pdf","page_number":17,"type":"section"}
{"delta":"One or multiple deltas containing the generated response including references to the documents from above. [c688c936-cf4d-4b64-b8be-8ea9cbf2a56e]","type":"delta"}
Request
Path Params
id
string
required
Body Params application/json
Responses
Modified at 2023-12-12 06:38:20