Knowledgebases
Create Knowledgebase
Create knowledgebase
POST
/
knowledgebase
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
multipart/form-data
file
file
requiredPDF file to upload
chunk_size
integer
default: 512Chunk size for embedding model
similarity_top_k
integer
default: 15Number of top similar nodes to return.
overlapping
integer
default: 128Number of characters which overalap in between neighboring nodes.
Response
200 - application/json
rag_id
string
requiredThe ID of the knowledgebase
file_name
enum<string>
requiredFile name of the PDF uploaded
Available options:
created
status
enum<string>
requiredStatus of the knowledgebase. Initially the status would be processing
.
Available options:
processing
, processed
Was this page helpful?