Skip to main content

knowledge-base

knowledge-base — ɳSelf documentation.

Knowledge Base Plugin

Docs and FAQ with semantic search, versioning, and translations. Pro plugin.

Requires: Basic license tier or higher. nself license set nself_pro_...

Install

nself license set nself_pro_xxxxx...
nself plugin install knowledge-base

What It Does

A structured knowledge base for documentation and FAQs. Organize content into categories and articles, maintain full version history, support multiple translations per article, and provide semantic search powered by the search plugin or the ai plugin for embedding-based retrieval. Exposes a GraphQL API for embedding the knowledge base in your app or support widget.

Configuration

Env VarDefaultDescription
KNOWLEDGE_BASE_PORT3713Knowledge base service port
KNOWLEDGE_BASE_SEMANTIC_SEARCHfalseUse AI embeddings for search
KNOWLEDGE_BASE_DEFAULT_LOCALEenDefault article locale
KNOWLEDGE_BASE_VERSION_HISTORY20Versions to retain per article

Ports

PortPurpose
3713Knowledge base REST API

Database Tables

8 tables added to your Postgres database:

  • np_knowledge_base_categories: content categories
  • np_knowledge_base_articles: article content
  • np_knowledge_base_versions: article version history
  • np_knowledge_base_translations: per-locale translations
  • np_knowledge_base_feedback: article helpfulness ratings
  • np_knowledge_base_search_index: search index metadata
  • np_knowledge_base_tags: article tags
  • np_knowledge_base_related: related article links

Nginx Routes

RouteTarget
/knowledge-base/Knowledge base API