Knowledgebases
Create Knowledgebase API
Upload a PDF document to create a knowledgebase, enhancing your Bolna Voice AI agent’s information base and response accuracy.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
multipart/form-data
PDF file to upload
Chunk size for embedding model
Example:
512
Number of top similar nodes to return.
Example:
15
Number of characters which overalap in between neighboring nodes.
Example:
128
Response
200
application/json
knowledgebase create status response
The ID of the knowledgebase
Example:
"3c90c3xs0d444b5088228dd25736052a"
File name of the PDF uploaded
Available options:
created
Status of the knowledgebase. Initially the status would be processing
.
Available options:
processing
, processed
Example:
"processed"