-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Summary
Product catalog providers are currently only configurable via direct database updates. Add Admin UI support for configuring these providers per-tenant.
Background
The sales agent supports 5 product catalog provider types:
- database (default) - reads products from PostgreSQL
- mcp - calls an upstream MCP server for products (federation)
- ai - uses AI/RAG to match products based on brief
- signals - discovery via Signals protocol
- hybrid - combines multiple sources with configurable ranking
Currently configured via tenant config.product_catalog JSON field:
{
"product_catalog": {
"provider": "hybrid",
"config": {
"signals_discovery": {
"enabled": true,
"upstream_url": "http://signals-agent:8080/mcp/"
},
"ranking_strategy": "signals_first"
}
}
}Requirements
- Add product catalog provider selection to tenant settings UI
- Show provider-specific configuration fields based on selection
- Validate configuration before saving
- Display current provider status/health
Provider-specific config fields
| Provider | Config Fields |
|---|---|
| database | (none - uses local products table) |
| mcp | upstream_url, tool_name, timeout, optional auth headers |
| ai | AI model settings, embedding config |
| signals | upstream_url, discovery options |
| hybrid | sub-provider configs, ranking_strategy |
Files
product_catalog_providers/- provider implementationsproduct_catalog_providers/factory.py- provider registrysrc/admin/- Admin UI (needs new section)
Acceptance Criteria
- Tenant admins can select product catalog provider from dropdown
- Provider-specific config fields appear based on selection
- Configuration is validated before save
- Current provider health/status is visible
- Changes take effect without server restart
Metadata
Metadata
Assignees
Labels
No labels