
Knowledge bases were previously called Knowledge Folders. The Knowledge Folder API keeps its existing endpoint names.
Search a Knowledge base from chat
Knowledge bases are most useful when you need an answer from a large set of reference documents. Select a Knowledge base in chat, then ask the model to find the information you need. For example, you can ask Langdock to:- Find the parental leave policy in an employee handbook
- Compare onboarding guidance across several internal documents
- Answer a support question from product documentation
- Find the right security policy for a customer questionnaire
When you use a Knowledge base in chat, Langdock searches for relevant sections from your documents. It does not send every document to the model.
Create a Knowledge base and add documents
You can create Knowledge bases from the Library. Open the Library from the left sidebar, find the Folders section, click the arrow next to Create folder, and select Knowledge base.
- Upload from computer
- API upload
- Open your Knowledge base
- Click Upload files or drag documents into the Knowledge base
- Wait until the files finish processing
Knowledge bases can contain up to 1,000 files. Each file can contain up to 8 million characters.
Share search access with the right people
You can share Knowledge bases with individuals, groups, or your entire workspace. Use Viewer access when someone should search documents, and Editor access when they should also add, remove, or manage documents.| Permission | Owner | Editor | Viewer |
|---|---|---|---|
| View Knowledge base and documents | ✓ | ✓ | ✓ |
| Search documents in chat | ✓ | ✓ | ✓ |
| Use in Agents | ✓ | ✓ | ✓ |
| Add documents | ✓ | ✓ | |
| Remove documents | ✓ | ✓ | |
| Share with others | ✓ | ✓ | |
| Delete Knowledge base | ✓ | ||
| Transfer ownership | ✓ |
Choosing the right setup
Knowledge bases work best when you need search across many documents. Use the options below when you want to work directly with files or give an Agent access to the same reference material.Use a Folder to work with files
Use a Folder when you want to open files in chat, compare them, update them, or save generated files back. Folders are better for active work with a smaller set of files. Use a Knowledge base when you want to search a larger collection for the right answer.Add a Knowledge base to an Agent for search
Add a Knowledge base to an Agent when the Agent should search the same reference material while answering. This is useful for HR policies, product documentation, compliance documents, and support knowledge.FAQ
My Knowledge base is not appearing in @mentions
My Knowledge base is not appearing in @mentions
Check that you have at least Viewer access, then type more of the Knowledge base name to narrow the results.
The model is not finding relevant information
The model is not finding relevant information
Check that your documents finished processing, then rephrase your question with more specific terms. Verify that the information exists in the uploaded documents.
I cannot upload certain file types
I cannot upload certain file types
Knowledge bases accept supported text based formats such as PDF, DOCX, TXT, Markdown, and presentations. Use a Folder when you need to work with spreadsheets, images, audio, or generated files.

