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
be15b512a42909f6496bdfc4e8b24a7c9bdd6334
ai-g3sb-backman2.0
/
backend
/
llm
/
__pycache__
/
openai_client.cpython-312.pyc
T
126 lines
17 KiB
Plaintext
Raw
Normal View
History
Unescape
Escape
Enhance LLM integration by adding OpenAI client support and enabling dynamic routing between DeepSeek and OpenAI services. Update environment configuration to include
LLM_SERVICE_CODE
for service selection, and modify API server to accommodate new request parameters for language and model. Implement streaming response improvements for chat interactions, allowing for segmented SSE output. Update documentation and impact analysis to reflect these changes.
2026-04-16 09:15:01 +08:00
Ë
Enhance SQL generation and streaming capabilities in the API server. Introduce optional parameters for streaming throttle and SQL stream granularity in
NLChatRequest
. Implement new functions for iterating SQL generation content pieces and adjusting streaming behavior based on user-defined settings. Update prompts for few-shot SQL adaptation and improve logging for SQL generation processes. Refactor orchestrator methods to support streaming responses and integrate few-shot SQL conditions. Update impact analysis documentation to reflect these changes.
2026-04-16 13:48:44 +08:00