# How Ordinary People and SMEs Can Build an AI Knowledge Base (Step-by-Step)

> Regular people and small-to-medium businesses don't need advanced technical skills to build a practical AI knowledge base. By organizing internal company information such as product documents, customer cases, and output guidelines, you can provide essential context to AI models so they generate outputs that are far more relevant and aligned with your specific business needs.

- Source: https://www.waytoagi.com/en/kb/learning-path/build-ai-knowledge-base
- Original (Feishu, Chinese): https://waytoagi.feishu.cn/wiki/PIYFws93riYrplkQPE7ckyVzndf
- Updated: 2026-10-23

---

> 🔗 Original link: [https://x.com/jinchenma_ai/status/2...](https://x.com/jinchenma_ai/status/2074515412272996467)

![](https://www.waytoagi.com/api/kb-media/MiFNbbjoDoHmzhx5S8IcugGInoe)

Have you ever encountered this situation?

Your boss assigns a task. You explain it once to a new employee. Then another new person arrives, and you have to explain everything from scratch again.

There’s a top-performing salesperson in the company with an exceptionally high closing rate, but his experience never gets passed on. New salespeople don’t know how to learn from him, so they grow very slowly.

The questions customers ask fall into just a few recurring categories, yet every time you still have to search through materials again and rewrite the response from scratch.

Meeting notes, project retrospectives, product documentation, customer case studies… these materials are generated every day, but when you actually need them, you can’t find them no matter how hard you search your computer.

This is the daily reality for most small and medium-sized enterprises. It’s not that they don’t value knowledge — they simply don’t have the energy to organize it.

Many people have used Doubao, DeepSeek, or ChatGPT. The feedback is almost always the same: what it says is correct, but it’s useless for your actual business.

For example, if you ask it to reply to a customer question, the answer may sound logical and well-structured, but you can immediately tell it doesn’t reflect your company’s products, your service approach, or the tone your company uses when speaking with customers.

In short, it doesn’t know you at all.

![](https://www.waytoagi.com/api/kb-media/OO70bR2bBowRFDxBWNvcRdK2nXc)

So where is the problem?

The general-purpose AI tools on the market are powered by large language models trained on publicly available data. You can think of them as a well-read new hire — they know a lot of general knowledge, but they have no idea about your company’s specific situation.

Yet every enterprise and every individual workflow has its own unique body of knowledge: product specifications, customer cases, service processes, writing style, and the things you’ve done right or wrong in the past.

The AI has never seen any of this.

That’s why it can only give you vague, generically “correct” answers.

This article aims to solve one core problem: **give the AI your context so it can start working based on your own materials.**

After reading it, you will walk away with at least four practical assets: a minimal viable knowledge base directory structure, a complete workflow that starts with a safe task, two ready-to-copy prompts, and a clear set of criteria for choosing the right tools.

This first version requires no technical background and no need to buy a complex system upfront. The key is to get it running first.


# AI Knowledge Base: Start with Context

When many people hear the term “knowledge base,” the first thing that comes to mind is a folder or a document management system.

That is not what an AI knowledge base means.

**An AI knowledge base is essentially about supplying the AI with context.**

What is context? It is all the internal information the AI doesn’t know — details about your company, your materials, your products, and so on.

For example: what your company does, what products you offer, which clients you’ve served, what questions customers commonly ask, which past cases succeeded and which failed, what tone should be used in external communications, and what should never be written.

All of these together form the AI’s context.

The final quality of an AI’s output is determined by three factors: the capability of the model itself, the quality of the context you provide, and the clarity of the task constraints you set.

Model capability is obviously important. But in real business scenarios, the AI also needs sufficiently specific context and clear task instructions.

If you give the same model a pile of generic materials, it can only produce generic answers. But if you give it your company’s product documentation, real customer questions, successful case studies, and explicit output rules, it can generate content that sounds like it was written by someone from your own company.

This is where the value of an AI knowledge base lies.

There’s also something many people haven’t realized.

In the past, knowledge management relied almost entirely on humans. Humans organized the materials, humans searched for them, humans interpreted the content, humans decided what could be used, and humans rewrote the final output.

Every single step required human labor. Anyone who has managed teams knows that human labor is the most expensive. Even if you provide employees with tools and document libraries and train them, not everyone will use them effectively.

Now?

Apart from the final step — where humans make judgments and perform final calibration — many of the earlier tasks such as organizing, retrieving, and initial rewriting can be handled by AI.

Humans primarily act as judges. They evaluate whether the AI’s output is correct, good, or usable, then calibrate it and tell the AI what needs to be changed.

# Five Ways to Implement an AI Knowledge Base

![](https://www.waytoagi.com/api/kb-media/BQHzb5vkkowWwQxsXykcSD7pnQg)

When discussing AI knowledge bases, two terms often come up: vector databases and RAG.

For ordinary users and small-to-medium enterprises, the first version usually doesn’t require such heavy-duty solutions.

There are currently five common implementation approaches.

These are not five parallel options.

They are better understood as five progressive stages, from lightweight to heavyweight. Choose the one that matches your current stage.

**First: Direct Feeding**

The simplest method. You simply upload the files directly to the AI and let it answer questions based on them.

It is suitable for one-off, small-scale, or temporary tasks.

For example, if you have a product manual and want the AI to write an introduction based on it, just drop the file in.

The downside of direct feeding is obvious: you have to re-upload every time. Once you have many documents, it becomes unclear which ones to send, and it’s hard to turn this into a long-term system.

**Second: Directory-Based Knowledge Base**

This is the step I most strongly recommend that ordinary users and SMEs start with.

Your task is not to build a platform, but to first organize the materials you already have and place them into well-structured folders.

For example: one folder for basic company information, one for products and services, one for common customer questions, one for case studies, and one for output guidelines.

Then tell the AI: when it encounters a certain scenario, which folder to look in and what files to reference.

This is the most suitable starting point for non-technical individuals and small teams.

It requires no technical background and no need to buy any system from day one.

In essence, it turns the scattered files in your computer, Feishu, or cloud drive into an area that the AI can reliably find and use.

Once this step is done well, the AI’s responses will shift from “generic chatter” to “answers grounded in your own materials.”

**Third: Indexed Knowledge Map**

Directory-based systems still have a limitation. Many files don’t belong to just one category. A successful client case might relate to sales scripts, product explanations, and new-hire training at the same time.

In such cases, instead of obsessing over perfect classification, change your approach: let the AI scan all the materials first and create an indexed map organized by topics.

For instance, which files are associated with marketing topics, which are linked to customer acquisition, and so on. The AI then follows this map to locate the relevant materials.

This doesn’t require you to categorize every file perfectly; it only requires the AI to know “where to go when looking for something.”

For specific methods of building such indexes, you can refer to Andrej Karpathy’s LLM Wiki approach: have the AI maintain a set of wiki pages, indexes, and logs that link together the original source materials.

**Fourth: RAG and Vector Retrieval**

This sounds very technical. In practical use, it means that once you have a large volume of materials, directories or indexes are no longer precise enough, and the AI needs to find documents based on semantic meaning.

For example, if you want to find a piece of copy that expresses a very specific theme, or a highly detailed knowledge point, it’s often difficult to locate it using keywords or folder names.

The RAG approach works by preprocessing your materials into chunks in advance. When the AI retrieves information, it doesn’t match keywords — it matches semantic meaning. It understands what your question means and finds the chunk that is closest in meaning.

You don’t need to understand all the technical details right now. Just remember one thing: it primarily solves the problem of finding the right fragment when you have too much material and neither directories nor keywords work well.

It is suitable for scenarios with large document volumes where you need to semantically and precisely retrieve relevant segments.

**Fifth: Integration into Existing Systems or Custom Platforms**

This is the enterprise-grade solution. For example, if your company already has its own internal systems, customer service platforms, or document management systems, you need to embed the knowledge base capability into those existing systems. Many platforms have an AI customer service button that pops up in the bottom-right corner — this is exactly the logic behind it.

None of these five approaches is inherently “more advanced” than the others. The only question is which one fits your current stage.

For the vast majority of individuals and SMEs, starting with the second approach is sufficient.

Begin by creating directories, placing materials, writing rules, and getting one use case working smoothly.

Once your materials grow and your needs become more complex, then add indexes or adopt more sophisticated retrieval methods.

Don’t chase “advanced” solutions from the start. Being able to actually use it is far more important than how sophisticated the solution looks.

# Personal Knowledge Base: Solve Your Own Output Problems First

After talking about the framework, let me share a real example from my own experience.

What I did is actually very simple. I created a folder on my computer and put everything in it: daily ideas, journal entries, articles I’ve written in the past, and materials from team meetings.

Then I chose an AI agent tool that can read local files, allowing it to directly access this directory.

Now my workflow looks like this: When I need to write an article, instead of manually digging through folders for material, I simply tell the AI what topic I want to write about. It goes into the directory, finds all the relevant past writings and ideas I’ve had, and organizes them into usable source material for me.

When I want to review my recent state, I ask the AI to read my journal entries from the past period, help me identify recurring problems, and assess how things have progressed.

There’s also an unexpected feature that surprised me: knowledge graphs. The AI automatically discovers connections between different notes and visualizes them as a graph. Two notes that seem completely unrelated may be linked by the AI through some underlying theme.

![](https://www.waytoagi.com/api/kb-media/LQucbQaxJoiGAExuP0jcUXUMnCM)

In the past, doing this would have required me to manually go through each note and think, “Which other note is this related to?” Once you have hundreds of notes, this task becomes so massive that it’s virtually impossible to complete by hand.

But now AI can do it for you.

I’m not sharing this to brag about how powerful the system is. I’m saying one thing: The true value of a personal knowledge base is not in collecting information, but in being able to find, reference, and draw inspiration from it when you need to produce output.

I rely on this system to support my high-frequency content output every day. It doesn’t just help you archive materials — it turns the knowledge you’ve accumulated in the past into usable assets exactly when you need them.

**Start with the Most Painful Business Scenario When Building an Enterprise Knowledge Base**

Individuals build knowledge bases to improve their own output. Enterprises have far more use cases, but the underlying logic is the same. For the first version, it’s best to start from the single most painful point rather than trying to build a company-wide mega-system right away.

Here are three real-world scenarios I’ve personally worked on.

**First: An Education & Training Institution**

Education and training organizations naturally generate a huge amount of materials: course content, project retrospectives, SOPs, consultation scripts, case summaries, and service workflows. In the past, all of these were scattered across employees’ computers and various corners of Feishu documents, with no single source of truth.

They began by categorizing and consolidating the materials into Feishu Docs and Multi-dimensional Tables. Project retrospectives in one category, SOPs in another, consultation scripts in yet another, and case summaries in their own. The multi-dimensional tables were used for data statistics and distribution.

They then let the AI generate batches of lead-handling scripts and content drafts based on this material. For example, when a customer asks, “Can my child join a split class?”, sales staff previously had to answer and train individually. Now, the system can generate a first draft based on the accumulated materials and script templates, which humans then review and refine.

The team isn’t large, yet they operate dozens of self-media accounts at the same time. This system enabled them to scale content production effectively.

In this scenario, the knowledge base mainly contains course materials, SOPs, consultation scripts, and case summaries.

The AI first generates lead-handling scripts, customer Q&A responses, and content topic ideas. Humans then check whether these scripts are realistic and usable, keeping the good ones, revising the unnatural ones, and writing the improved versions back into the rules.

![](https://www.waytoagi.com/api/kb-media/XJL8bWaQ9oS3zPxWLDpcKPFpnKd)

**Second: A Company Selling Healthy Sleep Products**

This company has dozens of products targeting different customer segments and solving different problems.

In the past, their biggest challenge was that new sales and customer service staff needed a very long time to become familiar with all the products. Moreover, customer questions were never simple ones like “What are the specs of this product?” that could be answered by checking a manual.

What customers actually asked was: “My 70-year-old parent has poor sleep. What product would you recommend?”

Answering this requires selecting the right product from dozens of options and explaining it in language the customer can understand. This is extremely difficult to cover through training alone.

The most valuable step in their solution was not organizing product materials, but first collecting real customer voices.

They gathered real customer questions from Xiaohongshu and Douyin comment sections, customer service private messages, and sales chat records. These questions were then screened, prioritizing high-frequency, high-value ones directly tied to conversion.

Only after that did they combine the product materials with these real questions to have the AI generate response templates. After generation, humans reviewed them, keeping the accurate ones and clearly annotating and writing rules for the inaccurate ones.

Once the system was built, sales and customer service staff could simply ask the AI when they encountered a question. The AI would cite its sources. If it gave a wrong answer, humans corrected it, the rules were updated, and it became more accurate next time.

This scenario cannot rely solely on product manuals. The real value lies in pairing authentic customer questions with product information, allowing the AI to generate reference response templates for customer service and sales. Every human correction feeds back into the knowledge base and updates the answer rules.

**Third: A Home Renovation Company**

Home renovation is a relatively traditional industry, yet it actually requires a very complete knowledge system.

The first layer is industry standards. Every industry has its own foundational consensus that must not be wrong.

The second layer is the company’s own variables: your design philosophy, the cities you serve, the styles you specialize in, your designers’ stories, and your real closed deals. These are what differentiate you from competitors.

The third layer is data feedback. After content is published, which pieces performed well and which performed poorly must flow back to refine the first two layers. Analyze why good content worked and have the AI avoid similar pitfalls for poor content in the future.

Previously, this company relied on external agencies to run their Xiaohongshu and WeChat Official Account content, spending a lot of money each month with limited output. After building their knowledge base, the founder could have the AI batch-generate first drafts and candidate topics. Humans would then screen, revise, and distribute them.

At this point, the knowledge base no longer only holds industry standards — it also contains the company’s unique variables and content performance feedback. The AI is responsible for producing marketing content drafts, internal training materials, and reusable topic directions. Humans decide which ones match the company’s tone and which ones can genuinely drive customer inquiries.

You’ll notice that although these three industries are completely different, in the end none of them built a knowledge base just to “organize materials neatly.” The knowledge base ultimately needs to connect back to concrete business outcomes: training, customer service, sales, and content marketing.

![](https://www.waytoagi.com/api/kb-media/P2bBbKRTtoaL4cxQ4JfcxSKmnUe)

**The Minimum Viable Version You Can Start Today**

After reviewing so many examples, we ultimately return to one question: What can you actually do when you get home today?

First, confirm one prerequisite: You need some digitized materials.

Word documents, PDFs, Feishu docs, Excel files, meeting notes, chat records, case studies, product materials, article drafts — anything counts. As long as you have files on your computer, you can begin.

Here’s the shortest path:

**Step 1: Create a knowledge base root folder.**

On your computer or company document system, create a new folder and name it “Knowledge Base”.

**Step 2: Start with these five categories.**

- **Company Basics**: Company introduction, brand information, team structure, contact details, and other foundational content.
- **Products & Services**: What products and services you offer, who they target, what problems they solve, and how they differ from competitors.
- **Customer Questions**: What customers commonly ask, which questions repeat frequently, and which are high-frequency and high-value.
- **Case Studies**: Both successful and unsuccessful past cases, sales records, and service processes.
- **Output Rules**: The tone, style, and voice you want the AI to use; which sentence patterns to avoid; and which expressions your team considers appropriate.

You don’t need to perfect these five categories at once. Just throw your existing materials in for now.

**Step 3: Choose an AI agent tool that can read local files or company documents.**

The only core criterion for choosing a tool is whether it can access your materials and, with your permission, perform retrieval, organization, rewriting, and feedback.

General chat tools are fine for one-off questions, but they cannot access your computer or read your file system.

**Step 4: Use structured prompts to let the AI help you organize and categorize first.**

If your materials are too messy and you don’t know where to start, that’s okay. You can ask the AI to analyze all your files and provide classification suggestions. You only need to review and confirm — no need to manually move files one by one.

**Step 5: Start testing from one specific scenario.**

The first version can focus on just one minimal scenario, such as answering customer questions, generating sales scripts, or organizing material for an article. Once you’ve successfully run through one, expand to the next.

If you’re not sure what to test, I recommend starting with a safe task.

Take 10 non-sensitive product documents or previously published materials, plus 1 real but non-private customer question, and have the AI answer it based on the knowledge base.

This task is small enough, yet realistic enough.

How do you know you’ve successfully run it?

Look for three signs: The AI can clearly state which materials it referenced; its output is noticeably closer to your real business than a generic answer; and you can continue improving it through feedback.

Run through this quick checklist:

1. Did the AI explicitly state which materials it referenced?
2. Does the answer include your own products, cases, or rules?
3. Did it fabricate any information not present in the knowledge base?
4. Can this response be used by sales, customer service, or yourself after minor edits?
5. Can you turn the parts you’re unhappy with into updates for the Output Rules?

A few important notes:

When your materials are very disorganized, first ask the AI to output classification suggestions. Do not let it directly move or rename files. The final directory structure must be confirmed by a human.

Sensitive contracts, customer privacy data, account passwords, and similar materials are not suitable for the first round of testing. Start with safe materials.

When the AI’s answers are too generic, check two things first: Are your materials specific enough? Did your prompt clearly define the scenario and output requirements?

When the AI’s answers are inaccurate, ask it to cite its sources, then document exactly what went wrong and add it to your Output Rules document.

# Two Ready-to-Copy Prompts

**First: Automatic Document Classification Prompt**

You can copy the following text directly to your AI tool.

Before copying, replace the directory paths inside with your actual paths.

```
My knowledge base root directory is: [Your knowledge base directory path]

There is now a batch of documents to be organized at: [Location of files to be organized]

Please help me do the following:

1. Read the filenames and content of these files, and understand what each file is about.
2. According to the following five categories, provide a classification recommendation for each file:
   - Company Fundamentals
   - Products & Services
   - Customer Issues
   - Case Studies
   - Output Rules
3. If a file belongs to multiple categories, please indicate the primary category and associated categories, and explain the reasoning.
4. List any files whose category cannot be determined, and explain why.
5. Provide suggestions for the next steps of organization, such as which categories contain too many files and whether it is recommended to create subdirectories.

Notes:

- Do not delete any original files.
- Do not move any original files.
- Do not modify any original files.
- Output only the classification recommendations and organization list. I will confirm before any actions are executed.
```

**Second: Answer Customer Questions Based on the Knowledge Base**

```
My knowledge base directory is: [Your knowledge base directory path]

A customer has now asked the following question:

[Paste customer question here]

Please answer based on the materials in the knowledge base. Requirements:

1. First determine what the customer is truly concerned about.
2. Provide a short, direct response that can be sent to the customer.
3. If needed, provide a more detailed explanation for sales or customer service staff to understand.
4. List follow-up questions you can ask the customer to better understand their needs.
5. You must indicate which materials your answer is based on.
6. If there is no basis in the knowledge base, clearly state “Insufficient information, cannot determine” and do not fabricate anything.
7. Do not promise product effectiveness, pricing, service scope, or delivery outcomes that are not explicitly stated in the knowledge base.
8. Finally, list any risk points that require manual confirmation.
```

Once these two prompts are working smoothly, you can consider turning them into skills.

This is not something you need to do on day one. First get the basic question-and-answer flow running properly.

A “skill” means saving a fixed workflow so that next time you don’t have to type such a long prompt manually. You only need to tell the AI, “Use the customer Q&A skill to handle this customer’s question,” and it will execute according to the workflow you previously defined.

# How to Choose the Right Tool

Before choosing a tool, go back to the core criterion: Can this tool truly integrate into your work environment, read your documents, and take actions with your authorization?

General chat tools are not bad, but they are designed for conversation, not for managing the files on your computer or within enterprise systems.

There is a category of tools on the market called AI agent tools. Their key feature is that you can tell them where your materials are, and they can directly read, organize, and rewrite them, instead of just waiting for you to feed content in a chat box.

Codex and WorkBuddy belong to this category.

How should you choose between them?

If your network environment and accounts have no restrictions, you can use Codex. It is relatively mature among tools of this type, and I use it regularly myself.

If you want something more convenient for use in China, consider WorkBuddy.

Both tools can also be controlled from a mobile device. You can remotely connect to the computer where the tool is deployed via your phone and still send commands and receive results.

One additional note: If your company is already using Feishu (Lark), Feishu Docs combined with Multi-dimensional Tables makes an excellent enterprise knowledge base foundation. You don’t need to set up another document system; you can build your knowledge base directly within your existing Feishu ecosystem.

However, tools are ultimately just tools.

Whether a knowledge base actually gets used does not depend on which software you choose. What matters more is whether the materials are well organized, whether the rules are clearly written, whether the entry points match real scenarios, and whether there is continuous feedback afterward.

**Knowledge Base Effectiveness Depends on How You Provide Feedback Afterward**

Many people build a knowledge base and then fall into the illusion that the job is already done.

In reality, building it is only the first step. What truly matters is the continuous feedback that follows.

When the AI gives a wrong answer, you need to document exactly where it went wrong. Instead of just complaining “AI is so dumb,” write that specific mistake back into your rule documents so the AI won’t repeat it next time.

When the AI’s output doesn’t sound human — what people commonly call “AI flavor” — the solution is to document every problematic sentence pattern into your output rules, one by one.

For example, note which openings you dislike, which words feel too vague, which sentence structures scream “AI,” and which expressions don’t match your company’s tone. Write them all down.

Before the AI generates its next response, it will first read these rules and produce output that is much closer to what you actually want.

When a certain type of content performs exceptionally well, analyze why it worked and distill those insights back into the knowledge base. The next time the AI produces similar content, it will have clear reference standards to follow.

You can think of it as a simple, practical loop:

Materials go in → AI tries to use them → Humans spot problems and update the rules. The next time a similar situation arises, the AI makes fewer mistakes.

For instance, suppose the AI described the target audience for a product too broadly when answering a customer question.

Don’t just fix that one response.

Instead, add this constraint back into your product documentation or output rules. Clearly state who the product is suitable for, who it is not suitable for, and in which scenarios the AI must remind users to contact a human for confirmation.

The next time the AI faces a similar question, its answer will be far more precise.

A knowledge base is not a one-time documentation project. It is a living system that requires continuous human participation and judgment.

Companies looking to implement this don’t need to turn it into a massive project.

Start by identifying which part of the business hurts the most — whether it’s repetitive new-hire training, inability to answer customer questions quickly, or content marketing that can’t keep up with demand.

Find the smallest pain point, choose a simple solution that can actually run, and have the team use it for a while. Especially for teams that are not yet familiar with AI, someone needs to guide them until the habit is formed.

A truly useful knowledge base is not something you build and then forget.

It evolves as the business changes, as experience accumulates, and as you continuously refine the areas where the AI frequently makes mistakes. Only then will it become increasingly aligned with your real work.

Documents are not accumulated for the sake of accumulation. They exist so that the next time you need them, they can be found, used, and used to calibrate the AI.

---

**Final Note**

An AI knowledge base is not some high-end enterprise system. It is simply a way to turn the materials in your hands, the experience in your head, the pitfalls you’ve encountered, and the correct judgments you’ve made into things that the AI can understand and utilize.

For ordinary individuals and small-to-medium enterprises, the first version doesn’t need to start with complex RAG pipelines or custom platforms.

Just find the smallest scenario that hurts the most. Create a folder, put in a batch of materials, test it with a real question, and see whether the AI can give an answer based on your materials that is significantly more relevant to your business than a generic chatbot.

Once you get one scenario working, you’ll know the path is viable.

You can run this minimal test in just 15 minutes today.

**Step 1:** Create a new folder called “Knowledge Base.”

**Step 2:** Inside it, create five subfolders: Company Basics, Products & Services, Customer Questions, Case Studies, and Output Rules.

**Step 3:** Add 10 non-sensitive documents to start.

**Step 4:** Copy the customer Q&A prompt provided above and test it with one real question.

**Step 5:** Check whether the AI cited your materials and whether the answer is noticeably more aligned with your business than what a general-purpose chat tool would produce.

What matters going forward is not how well you can write a single prompt.

It’s whether, after every task, you can capture the experience, cases, and rules you’ve learned.

The next time a similar problem appears, the AI won’t have to guess from the internet again. Instead, it will continue building on the foundation of *your* knowledge.

---

Jinchen Ma｜Ex-Big Tech Programmer｜Hit 10K followers and 10K USD revenue in 30 days｜Continuously sharing insights on making money with AI, programmer career transitions, and OPC (One-Person Company)｜Contact info in profile: https://x.com/jinchenma_ai
