Knowledge Bases¶
The Knowledge Bases section lets you provide reference material that the AI consults when analyzing your missions — internal procedures, security policies, regulatory documents, or public web sources. The more context the AI has about how things should be done, the more accurate its compliance and risk evaluations will be.
The page is organized into three tabs.
1. Knowledge Bases tab¶
A Knowledge Base (KB) is a container that groups related documents and sources.
Create a Knowledge Base
- Click New Knowledge Base.
- Fill in:
- Name — a short identifier (e.g. PCI-DSS Procedures).
- Description — a longer summary of what the KB contains and when it should be used.
- Click Create.
The new KB appears in the list with its creation date and document count.
Delete a Knowledge Base
Click the trash icon next to a KB and confirm. Deleting a KB does not delete the underlying documents — they remain available in the Documents tab and can be attached to another KB.
2. Documents tab¶
This tab manages the individual reference documents stored in your workspace.
Upload a document
- Click Upload Document.
- Select a file from your computer.
- Fill in metadata:
- Title (required) — the document's display name.
- Description — context about its purpose.
- Document type — for example policy, procedure, regulation.
- Category — used for grouping in search and filters.
- Tags — comma-separated keywords for fine-grained filtering.
- Click Upload.
The document is ingested in the background: its content is parsed and indexed so the AI can retrieve it during analysis.
Delete a document
Click the trash icon on a document row and confirm.
3. Web Sources tab¶
Web sources let the AI consult publicly available web pages in addition to your uploaded documents — useful for evolving references such as vendor knowledge bases or regulatory websites.
Add a web source
- Click New Web Source.
- Fill in:
- URL — the page to ingest.
- Name — a short, recognizable name.
- Description — its purpose and the topics it covers.
- Content selector (optional, advanced) — a CSS selector that restricts ingestion to a specific portion of the page (for example,
article.main-content). Leave empty to use the whole page body. - Click Create.
neomia Lens fetches the page, extracts the targeted content, and indexes it.
Delete a web source
Click the trash icon on a source and confirm.
Best practices¶
- Keep KBs focused. A KB about Linux server hardening will yield better results than a single huge "Everything" KB.
- Maintain freshness. Periodically re-upload updated versions of policies, and delete obsolete documents — the AI does not know which one is the current revision unless you tell it.
- Use tags consistently. Agreed-upon tag conventions across your organization make filtering and audits much easier.