feat: 添加AI问题生成功能,支持配置生成数量并在前端展示生成的问题
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- Remove question_generation_config column from knowledge_bases table
|
||||
|
||||
ALTER TABLE knowledge_bases
|
||||
DROP COLUMN IF EXISTS question_generation_config;
|
||||
@@ -0,0 +1,7 @@
|
||||
-- Add question_generation_config column to knowledge_bases table
|
||||
-- This column stores configuration for AI question generation feature
|
||||
-- When enabled, the system generates questions for document chunks to improve recall
|
||||
|
||||
ALTER TABLE knowledge_bases
|
||||
ADD COLUMN IF NOT EXISTS question_generation_config JSON NULL
|
||||
COMMENT 'Question generation configuration for document knowledge bases';
|
||||
Reference in New Issue
Block a user