Documents
Documents are the core unit of content in Lore DB. Each document has a title, Markdown content, and is automatically split into chunks for AI search.
Creating a document
Click New Document in the sidebar. Give it a clear, descriptive title — the title is used as context when the AI searches, so “Deployment Runbook for Production” works better than “Notes”. Write your content using Markdown: headings, lists, code blocks, and links all work.
Bulk adding existing documentation
PDF import: Click Import PDF in the sidebar to upload a PDF. Text is extracted in your browser, and you get a preview before anything is saved. Large PDFs are automatically split into chapters. See the Import & Export guide for details.
JSON import: Prepare a JSON file with your documents and import it from the Libraries page to create a library with all documents at once.
MCP tools: Use your AI assistant to create documents programmatically — for example, ask Claude to “read this file and create a document in Lore DB.”
What happens when you save
Behind the scenes, your document is split into smaller chunks, each chunk gets a numerical “embedding” that captures its meaning, and those embeddings are stored in a vector database. This is what makes semantic search possible — the AI can find relevant content even when you don’t use the exact same words.
Linking documents
Use wiki-style [[double bracket]] syntax to create links between documents:
[[Document Title]]— links to a document by its title[[doc-id|display text]]— links to a document by ID with custom display text
When you save, links are resolved and stored automatically. In the document view:
[[links]]render as clickable links in the content- A Linked Documents section shows all outgoing links
- A Referenced By section shows all documents that link back to this one
Unresolved links (referencing a title that doesn’t exist) render as italicized text.
Knowledge graph
The Graph page (accessible from the sidebar) shows an interactive force-directed visualization of all your documents and their links. Nodes are sized by connection count — heavily linked documents appear larger. Click any node to navigate to that document.
Linking documents also improves Ask AI: when a search result has linked documents, those are pulled in as additional context for more comprehensive answers.
Editing and updating
Click the edit button on any document you have access to. When you save changes, the document is re-indexed automatically. Old chunks are replaced with new ones, so search results are always up to date. Document links are also re-synced — if you add or remove [[links]], the connections update automatically.
Verifying documents
The verify button (checkmark icon) marks a document as recently reviewed. Verified documents get a small boost in search ranking, so results favor fresh, confirmed information over stale content. It’s good practice to verify important docs periodically.
You don’t need to change the content to verify — just click the checkmark to signal “this is still accurate.”
Deleting documents
Deleting a document removes it and all its chunks permanently. It is also removed from every library it belongs to. This cannot be undone, so consider exporting the library first if you might need the content later.
Deletion is permanent and cannot be undone. Export your library first if you might need the content later.