Knowledge Bases

Organize your documents into intelligent, searchable collections powered by AI.

What is a Knowledge Base?
A Knowledge Base is a collection of related documents that enTANGlement processes and indexes for intelligent search and chat. Each knowledge base is isolated, ensuring your personal documents stay separate from work projects.

Core Concepts

๐Ÿ—‚๏ธ Domain Isolation

Each knowledge base is completely isolated from others. Documents, chat history, and AI context remain separate.

๐Ÿค– Custom AI Models

Choose different AI models for each knowledge base. Use fast models for quick searches, powerful models for analysis.

๐Ÿ“ Folder Watching

Link a folder to automatically import new documents. Perfect for ongoing projects or research.

๐Ÿ” RAG Processing

Documents are processed using Retrieval-Augmented Generation for accurate, context-aware search results.

Creating a Knowledge Base

Method 1: Quick Start with Templates

enTANGlement offers pre-configured templates for common use cases:

๐ŸŽ“

AP Biology

High school advanced biology

๐Ÿ“

Calculus I

University mathematics

๐Ÿ›๏ธ

World History

Historical documents & notes

๐Ÿ’ป

Computer Science

Programming & algorithms

๐Ÿงช

Chemistry

Chemical formulas & labs

๐Ÿ“š

Literature

Books & literary analysis

Method 2: Custom Knowledge Base

  1. Open Creation Dialog
    • Click "Create New" button
    • Or press Ctrl+N
    • Or use Ctrl+K then select "Create New"
  2. Configure Basic Settings
    Name: My Research Project Description: Collection of papers on climate change Category: Professional Icon: ๐Ÿ”ฌ (optional)
  3. Select Storage Location

    Choose where documents will be stored on your computer. enTANGlement will:

    • Create the folder if it doesn't exist
    • Watch for new files automatically
    • Organize documents by type (PDFs, docs, etc.)
  4. Choose AI Model

    Select the AI model for this knowledge base:

    ModelSpeedQualityBest For
    Mistral 7BFastGoodQuick searches, summaries
    Llama 3.2MediumBetterDetailed analysis
    Claude 3 (Pro)FastExcellentComplex reasoning
    GPT-4 (Pro)MediumExcellentCreative tasks

Pro Tip: You can change the AI model later in the knowledge base settings. Start with a fast model and upgrade when needed.

Managing Documents

Adding Documents

There are three ways to add documents to a knowledge base:

  1. Drag and Drop - Drag files directly onto the document area
  2. Browse and Select - Click "Add Documents" to open file picker
  3. Automatic Import - Files added to the linked folder are imported automatically

Import Modes

When adding documents, choose how they're managed:

ModeDescriptionUse When
๐Ÿ“„ CopyCreates a copy in the KB folderYou want enTANGlement to manage files
โ†—๏ธ MoveMoves files to the KB folderOrganizing scattered documents
๐Ÿ”— LinkReferences files in original locationFiles must stay in current location

Document Processing

When documents are added, enTANGlement:

  1. Extracts Text - Pulls text from PDFs, Word docs, etc.
  2. Chunks Content - Splits into semantic sections
  3. Generates Embeddings - Creates vector representations
  4. Indexes for Search - Makes content searchable
enTANGlement - Document Processing

Processing Documents

โœ“Extract text from PDFs12/12 complete
โœ“Chunk content into sections45/45 complete
โŸณGenerate embeddings32/45 complete
โ—‹Index for searchWaiting...
2.3 MB / 3.2 MB71%
Speed: 1.2 MB/sTime remaining: 2 min

Searching Your Knowledge Base

Natural Language Search

Unlike traditional keyword search, enTANGlement understands what you mean:

Traditional SearchenTANGlement Search
"climate change effects""What are the main impacts of global warming on agriculture?"
"python list comprehension""How do I filter a list in Python efficiently?"
"quarterly revenue 2024""Show me our financial performance this year"

Search Operators

For advanced users, special operators are available:

  • type:pdf - Search only PDFs
  • date:2024 - Documents from 2024
  • author:"John Doe" - Specific author
  • has:images - Documents with images

AI Chat Integration

Each knowledge base includes an AI assistant that knows your documents:

  1. Click the chat icon or press C in a knowledge base
  2. Ask questions about your documents
  3. AI provides answers with source citations
enTANGlement - Knowledge Base Overview
๐Ÿ 
Home
๐Ÿ“š
KBs
๐Ÿ”
Search
โš™๏ธ
Settings

Knowledge Bases

๐Ÿ”ฌ

Climate Research

42 documents โ€ข 2.3 GB

Ready
๐Ÿ’ป

CS Notes

18 documents โ€ข 456 MB

Ready
๐Ÿ“ˆ

Q4 Reports

8 documents โ€ข 124 MB

Processing

Example Conversations

You: "Summarize the main findings from the climate reports" AI: Based on the 3 climate reports in your knowledge base... You: "Compare the methodologies used in paper1.pdf and paper2.pdf" AI: Looking at both papers, here are the key methodological differences... You: "Create a study guide for tomorrow's biology exam" AI: Based on your biology notes and textbook chapters, here's a comprehensive study guide...

Knowledge Base Settings

Configure your knowledge base by clicking the settings icon:

General Settings

  • Rename knowledge base
  • Update description and icon
  • Change storage location
  • Export/Import settings

AI Configuration

  • Switch AI models
  • Adjust chunk size for processing
  • Configure embedding models
  • Set context window size

Document Settings

  • File type filters
  • Auto-import rules
  • Duplicate handling
  • Processing priority

Advanced Features

Multi-Model Strategy

Use different models for different tasks within the same knowledge base:

  • Embedding Model - For document indexing (MiniLM, BGE, E5)
  • Search Model - For query understanding (Mistral, Llama)
  • Chat Model - For conversations (Claude, GPT-4)

Automation Rules

Set up automatic actions for your knowledge base:

  • Auto-categorize documents by content
  • Generate summaries for new documents
  • Alert when specific topics appear
  • Export weekly reports

Best Practices

Organizing Knowledge Bases

  • One topic per KB - Keep subjects separate for better AI context
  • Consistent naming - Use clear, descriptive names
  • Regular maintenance - Remove outdated documents
  • Backup important KBs - Export regularly

Optimizing Performance

  • Chunk size - Smaller chunks for technical docs, larger for narratives
  • Model selection - Match model power to task complexity
  • Document quality - OCR PDFs for better text extraction
  • Regular reindexing - Refresh embeddings periodically

Storage Tip: Each knowledge base requires about 10-20% additional storage for embeddings and indexes. A 1GB document collection needs approximately 1.2GB total space.

Troubleshooting

Common Issues

IssueSolution
Documents not appearingCheck file format is supported, verify folder permissions
Slow search resultsReduce chunk size, use faster embedding model
AI gives generic answersEnsure documents are fully processed, check model selection
High memory usageLimit concurrent processing, use smaller models

Related Topics