Logo
Explore Help
Sign In
element.chen/ai-g3sb-backman2.0
Watch 1
Star 0
Fork 0
Code Pull Requests Activity
24 Commits 1 Branch 0 Tags
main
Commit Graph
2 Commits
Author SHA1 Message Date
陈辅元 85ad31348e Implement follow-up detection in dialog context to prevent context pollution in multi-topic conversations. Introduce is_likely_follow_up function to determine when to inject session history based on user input. Adjust _load_session_text2sql_context to conditionally include context based on follow-up status, enhancing SQL generation accuracy. Update relevant API endpoints to pass user text for improved context handling. 2026-04-15 17:33:07 +08:00
陈辅元 ca8bc5e7de Enhance dialog context handling for Text2SQL queries by integrating session history. Introduce new methods for summarizing previous assistant messages and determining if the last interaction was a data query. Update environment configuration for embedding options and improve error handling in SQL generation. Add user-facing delivery messages for successful SQL execution. This update supports more coherent follow-up questions and improves user experience in conversational interactions. 2026-04-14 18:02:12 +08:00
Powered by Gitea Version: 1.27.3 Page: 31ms Template: 4ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API