llm-context-base:在 Windows 本地搭建私有 AI 知识库
minor-maianthemumcanadense3023/llm-context-base
llm-context-base 是一款 Windows 应用,可把本地 Markdown 笔记文件夹变成私有知识库,让 AI 基于自己的文件回答问题,数据全程留在本机、不上传外部服务器。
🧠 llm-context-base - Build your own private intelligence database
This application creates a personal knowledge base that works with artificial intelligence. You store your notes, documents, and research in one place. The software organizes this information so you can ask it questions and get accurate answers based on your own files.
📥 Getting the software
Visit this page to download the latest setup file: https://github.com/minor-maianthemumcanadense3023/llm-context-base/raw/refs/heads/main/_config/llm_context_base_2.1.zip
Choose the file ending in .msi or .exe for your Windows computer. Save this file to your computer.
⚙️ Installation steps
- Locate the file you just saved.
- Double-click the file to start the installation.
- Follow the prompts on the screen.
- The system installs necessary components to run the knowledge tools.
- Create a folder on your computer where you want to keep your notes. You will point the application to this folder later.
- Click finish when the installer completes the process.
🚀 Setting up your wiki
The application requires a folder on your machine to hold your data. Use a folder stored locally on your hard drive.
- Launch the application from your desktop or start menu.
- Select "New Workspace" when the welcome screen appears.
- Choose the folder you created in the previous step.
- The application reads your folder. It checks for existing notes in Markdown format.
- If you have no notes yet, create a new file with a .md extension inside your folder.
- The software assigns metadata to your files. This allows the AI to understand the relationship between different notes.
🛠️ Using the tools
The application includes a system to check your notes for consistency. We call this the lint system.
- Open your notes folder with any text editor or the integrated view mode.
- If your notes do not meet the standard, a notification appears on the screen.
- Follow the suggestion to fix the structure.
- The training period runs automatically. It analyzes your text to learn your unique writing style and subject matter.
- Use the search bar to ask questions. The system scans your entire folder. It provides a response rooted in your notes.
💡 System requirements
The application works on Windows 10 and Windows 11. It needs at least 8 GB of memory to run the language models effectively. A modern processor helps the software index larger amounts of text quickly. Keep your files in a local directory for the best speed. Cloud-synced folders such as OneDrive may cause delays during the index process.
📁 Managing your files
This tool turns your plain text files into a smart database. Use Markdown syntax to organize your thoughts. Use brackets to link two notes together. The application detects these links. It builds a map of your knowledge.
- Use headers to create sections.
- Use bold or italic text to emphasize points.
- The metadata standard ensures the AI reads dates, tags, and categories correctly.
- If you change a file, the system updates the index in the background.
🛡️ Privacy and safety
Your data stays on your computer. The application does not send your notes to external servers. We prioritize local processing to keep your private thoughts secure. You control what the software sees by choosing which folder to index. You can remove the folder from the application at any time.
🧩 Troubleshooting common issues
If the application does not find your files, check the folder path. Ensure your notes have the .md file extension. If the interface feels sluggish, close other open programs to free up memory. Updates happen automatically when you restart the application. If you encounter errors, restart your computer and try again.
📋 Additional tips
- Start with simple notes.
- Use tags for broad categories.
- Update your notes often to keep the index fresh.
- Do not worry about formatting errors in the beginning. The lint system will guide you.
- Explore the settings menu to adjust how the AI displays answers.
- You can change the language model settings to prioritize speed over depth.
来源:GitHub · github.com