07a8c1de4c
- 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.
15 lines
361 B
PL/PgSQL
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;
|
|
|