Skip to main content
Knowledge base icon
Knowledge bases help you find specific information across larger document collections. Instead of opening every file in chat, add your reference material once and use the Knowledge base when you need the model to search for the most relevant sections. Use Knowledge bases for policies, handbooks, product documentation, support articles, manuals, and other reference material. Use Folders when you want to work directly with files, compare them, update them, or save generated files back.
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
1

Open a chat

Start a new chat or open an existing one.
Sidebar menu with New chat selected
2

Choose a Knowledge base

Type @, search for the Knowledge base, and select it from the list.
Chat input with a Knowledge base selected
3

Ask a question

For example, ask the model to find the parental leave policy in the employee handbook. The model searches the Knowledge base for relevant sections and answers from those sources.
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.
Folders section with the Create folder dropdown open and Knowledge base selected
After you create a Knowledge base, upload documents from your computer or use the Knowledge Folder API for automated uploads. Knowledge bases are built for text based reference material that should be searched later.
  1. Open your Knowledge base
  2. Click Upload files or drag documents into the Knowledge base
  3. Wait until the files finish processing
Knowledge bases accept supported text based formats such as PDF, DOCX, TXT, Markdown, and presentations. They do not accept tabular files, images, or audio.
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.
PermissionOwnerEditorViewer
View Knowledge base and documents
Search documents in chat
Use in Agents
Add documents
Remove documents
Share with others
Delete Knowledge base
Transfer ownership
Workspace admins have full control over all Knowledge bases.

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 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

Check that you have at least Viewer access, then type more of the Knowledge base name to narrow the results.
Check that your documents finished processing, then rephrase your question with more specific terms. Verify that the information exists in the uploaded documents.
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.