feat:修改nl2sql功能

This commit is contained in:
2026-09-14 10:57:48 +08:00
parent a7f9e182a4
commit 67d5cfc2b8
15 changed files with 206 additions and 54 deletions
+1
View File
@@ -96,6 +96,7 @@ class LLMCfg(BaseSettings):
api_key: str = ""
api_chat_model: str = ""
api_embed_model: str = ""
api_trust_env: bool = True # API 客户端是否读取系统代理环境变量
embed_dimensions: int # 向量维度:既作为 embeddings 请求的 dimensions 参数,也是 Milvus 建表/入库校验的维度;须与模型输出一致(MRL 模型如 qwen3-embedding 可任选 32~4096)
# —— 通用超参 ——
temperature: float