Build a Private Product Support Knowledge Base

Build a local assistant that answers compatibility questions from approved support documents and prints the source passages for review. The Atlas KVM used in this tutorial is fictional.

Four steps from local support documents to an answer with a reviewed source passage

1. Set up the model and sample documents

Follow the Windows and LM Studio setup, download the ChinaPC starter ZIP and extract it. In PowerShell, open the folder containing local_ai.py. Keep LM Studio running and set $LocalModel to the exact model ID.

Start with Qwen3.8-27B Q4_K_M. Use the same input files and questions when evaluating other models on 128GB or 192GB. The script reads the files on every request and passes up to four matching passages to the model.

Get-ChildItem .\samples\support

2. Test a compatibility question

python .\local_ai.py support --model $LocalModel .\samples\support "Can a closed mini PC without a front-panel header use the Atlas KVM ATX module?"

Expected: the answer says an exposed front-panel header is required. Check that atlas-kvm-compatibility.txt appears under Evidence for manual review and that the cited text supports the answer.

3. Test a question with missing information

python .\local_ai.py support --model $LocalModel .\samples\support "What is the water-resistance rating for the Atlas KVM?"

Expected: No supported answer in the supplied documents. If the model invents a rating, keep the output in draft mode and investigate. Verify the passage behind each proposed answer.

4. Add approved files and run a pilot

New-Item -ItemType Directory -Force .\my-support
# Copy approved UTF-8 TXT or Markdown files into my-support.
python .\local_ai.py support --model $LocalModel .\my-support "PASTE A REAL SUPPORT QUESTION"

Use one document per model or policy and include names, aliases and revision dates. For searchable PDFs install python -m pip install pypdf. For scans, use OCR and review the text before adding it. The starter uses English keyword matching.

Replay 20 resolved tickets. Record answer correctness, whether the citations support the answer and whether missing evidence was escalated. Keep human review before sending replies.

Compare models by RAM · Compare workstation configurations · View FEVM FAEX1 64GB / 1TB