This website requires JavaScript.
Explore
Help
Sign In
element.chen
/
ai-g3sb-backman2.0
Watch
1
Star
0
Fork
0
Code
Pull Requests
Activity
Files
3891aae7fe3fcb45fef8bed50ef9840a29e03f23
ai-g3sb-backman2.0
/
backend
/
utils
/
__pycache__
/
dialog_context.cpython-312.pyc
T
陈辅元
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
7.2 KiB
Raw
History
View Raw
View Git Blame
Copy Permalink