LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。
TypeScript
revert: Save to Wiki uses full auto-ingest again for maximum knowledge extraction
nash_su82561c8829ef
diff --git a/src/components/chat/chat-message.tsx b/src/components/chat/chat-message.tsxindex 002d8d53..8cbd00ab 100644--- a/src/components/chat/chat-message.tsx+++ b/src/components/chat/chat-message.tsx@@ -186,11 +186,12 @@ function SaveToWikiButton({ content, visible }: { content: string; visible: boolsetSaved(true)setTimeout(() => setSaved(false), 2000)- // Lightweight cross-referencing: ask LLM to add [[wikilinks]] to the saved content+ // Full auto-ingest: extract entities, concepts, cross-references from saved contentconst llmConfig = useWikiStore.getState().llmConfigif (llmConfig.apiKey || llmConfig.provider === "ollama") {- enrichWithWikilinks(project.path, filePath, llmConfig).catch((err) =>- console.error("Failed to enrich with wikilinks:", err)+ const { autoIngest } = await import("@/lib/ingest")+ autoIngest(project.path, filePath, llmConfig).catch((err) =>+ console.error("Failed to auto-ingest saved query:", err))}} catch (err) {