Upload a PDF document or provide a URL to create a knowledgebase, enhancing your Bolna Voice AI agent’s information base and response accuracy.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
PDF file to upload (max 20 MB). Required if url is not provided.
URL to scrape and ingest as knowledgebase. Required if file is not provided.
"https://example.com/docs"
Chunk size for embedding model
512
Number of top similar nodes to return.
15
Number of characters which overlap in between neighboring nodes.
128
knowledgebase create status response
The ID of the knowledgebase
"3c90c3xs0d444b5088228dd25736052a"
File name of the PDF uploaded or URL ingested
"sample-rag.pdf"
Status of the knowledgebase. Initially the status would be processing.
processing, processed, error "processing"
Type of source ingested
pdf, url "pdf"