Adds a new document to the specified knowledge base. Supports two types of documents:
The document processing happens asynchronously in the background. The API immediately returns a processing status and document ID, while the actual document processing, text extraction, and vector embedding generation continue in the background.
Successful Response
Response model for adding documents to a Knowledge Base.