Automatically generate knowledge base descriptions using the default system LLM

オープン
#42,346 コメント 2 件 リアクション 1 件 担当者 2 名 GitHub で見る

@leslie2046 がすでに取り組んでいます。

2026年9月20日 から。

評価

この issue はまだ評価されていません。

説明

Self Checks
  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.
1. Is this request related to a challenge you're experiencing? Tell me about your story.

Knowledge base descriptions currently need to be written manually. This becomes time-consuming and error-prone when a knowledge base contains many documents or its content changes frequently. A missing or inaccurate description also makes it harder for users and agents to understand the scope and purpose of the knowledge base.

Please add a feature that automatically generates a knowledge base description from the knowledge base's full content.

Suggested behavior:

  • Provide a Generate with AI action when creating or editing a knowledge base.
  • Use the workspace's default system LLM, so users do not need to configure a separate model for this feature.
  • Generate the description based on all content in the knowledge base. For content that exceeds the model context window, use a hierarchical/chunked summarization strategy so the final description still represents the whole knowledge base rather than only the first documents or segments.
  • Allow users to review and manually edit the generated description.
  • Allow users to regenerate the description after documents are added, removed, or updated.
  • Show a clear error and leave the existing description unchanged if generation fails.

Expected result: users can quickly create an accurate, concise description that reflects the complete knowledge base while retaining full control over the final text.

2. Additional context or comments

This would reduce setup effort and improve the quality of knowledge base metadata, especially when descriptions are used to help an LLM or agent decide which knowledge base is relevant.

3. Can you help us with this feature?
  • I am interested in contributing to this feature.
主要言語
TypeScript
スター
157k
フォーク
24.7k
平均マージ
22時間 32分
マージ済み PR(30日)
611

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

langgenius/dify のほかの issue

langgenius/dify の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。