Files
Enterprise-Knowledge-Base/migrations/versioned/000005_add_web_search_config.up.sql
T
wizardchen 07a8c1de4c feat: Add web search functionality and enhance agent mode integration
- Introduced web search configuration in config.yaml, allowing multiple providers with specific settings.
- Updated InputField component to manage agent mode and web search toggles, improving user interaction.
- Enhanced chat API to include web search status in requests, enabling dynamic query handling.
- Implemented backend support for web search integration, merging results with knowledge base queries.
- Added tenant-level web search configuration management, allowing customization per tenant.
2025-11-10 03:14:12 +08:00

15 lines
361 B
PL/PgSQL

-- 000005_add_web_search_config.up.sql
-- Add web_search_config column to tenants table for web search configuration
BEGIN;
-- Add web_search_config column to tenants table
ALTER TABLE tenants
ADD COLUMN web_search_config JSONB DEFAULT NULL;
-- Add comment
COMMENT ON COLUMN tenants.web_search_config IS 'Web search configuration for the tenant';
COMMIT;