Authorizations
API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with 'Bearer '. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.
Path Parameters
The ID of the knowledge base to add the document to.
Body
Name of the document.
Full text content of the document.
Indexing technique for the document.
high_quality, economy Format of the indexed content.
text_model, hierarchical_model, qa_model Language of the document, important for Q&A mode.
"English"
A set of rules for processing a document, including cleaning and segmentation.
Name of the embedding model to use.
Provider of the embedding model.