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
Enable multilingual support for the knowledgebase. When set to multilingual, enables cross-lingual retrieval across 100+ languages. This allows you to upload documents in any language and query them in any language. If not provided, the default English-optimized configuration is used.
multilingual "multilingual"
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"
Language support mode of the knowledgebase. multilingual if enabled, null otherwise.
multilingual "multilingual"