You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(table-selection): add LLM-based table selection for SQL generation
Add a new LLM-based table selection feature that can replace or work alongside
the existing RAG-based table embedding. Key changes:
- New table selection module (backend/apps/datasource/llm_select/)
- New config option TABLE_LLM_SELECTION_ENABLED (default: true)
- Add table_select_answer field to ChatRecord for logging LLM selections
- Add SELECT_TABLE operation type for tracking in chat logs
- Skip foreign key relation table completion when using LLM selection
(LLM already sees table relations and can decide which tables to include)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>
0 commit comments