تخطَّ إلى المحتوى

knowledge-base

هذا المحتوى غير متوفر بلغتك بعد.

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

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

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

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.

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
PortPurpose
3713Knowledge base REST API

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
RouteTarget
/knowledge-base/Knowledge base API