Knowledge bases (technical)
Technical summary of the upload, embedding, and query pipeline. For the UI flow see Usage: Knowledge bases.
Upload
- File upload via
multipart/form-data - MIME and extension validation; size limits
- Progress and retry strategies on errors
Embedding pipeline
- Document is stored
- Split into chunks
- Embedding vectors generated
- Written to the vector store
Status fields: PENDING → PROCESSING → COMPLETED | FAILED
Query
- Production:
/knowledgebases/query(or equivalent path) - Test:
.../query/test— flags likeincludeDebug,includeEmbeddings