Import knowledge and enable appropriate answers
Knowledge entries contain names and text content. An assistant is allowed to use multiple entries from the same workspace. Folder/source metadata can be saved as a configuration; an automatically synchronized external knowledge platform is not yet connected.
Text and files
Paste FAQs, product information and clear rules directly as text. For files, the application uses POST /api/knowledge/upload with multipart fields file and optionally name. Supported formats are .txt, .md, .csv, .pdf, .docx and .xlsx. The entire HTTP request is limited to 2 MB.
curl -X POST http://127.0.0.1:5090/api/knowledge/upload \
-H "Authorization: Bearer $AIHUB_API_KEY" \
-F 'name=Öffnungszeiten und Leistungen' \
-F '[email protected]'
Files are converted to text. Then check the tables, headings and order in particular. Image-based PDFs are not reliably recognized without OCR. Protected, corrupted or empty files can be rejected. The assigned entries must come from your own workspace.
A saved source URL serves as a reference; SIHub does not load or sync this URL automatically. Copy approved text yourself or import a locally available file.
How the selection works
SIHub splits the text into overlapping excerpts and counts the words they share with the current question. At most the six best-rated excerpts are used, with a maximum of 10,000 characters in total. This selection is lexical: synonyms, nested tables and indirect relationships may be missed.
No embeddings are created and no semantic vector database is operated. If an answer is unsuitable, first check the knowledge assignment, then the wording of the source and the test question. Split large documents into clearly named topics.
Live providers receive selected knowledge excerpts as reference data, separate from the actual prompt instructions. Documents should still not contain credentials or content that you do not want to transfer to the selected provider. Deleting a knowledge entry removes it from new retrievals; conversation messages and exports that have already been saved must be handled separately.