Files
Enterprise-Knowledge-Base/migrations/versioned/000017_add_question_generation_config.up.sql
T

7 lines
318 B
SQL

-- 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 JSONB NULL ;