Ver código fonte

Merge branch 'master' of http://114.244.114.158:8802/siwei/siwei_ai

服务器 8 meses atrás
pai
commit
4d381a67c2
1 arquivos alterados com 1 adições e 7 exclusões
  1. 1 7
      app.py

+ 1 - 7
app.py

@@ -139,7 +139,7 @@ def update_chat_history(user_message):
         stream=False,
         system=sys,
         prompt=prompt,
-        options={"temperature": 0, "num_ctx": 32000,},
+        options={"temperature": 0, "num_ctx": 32000, },
         keep_alive=-1
     )
     
@@ -167,13 +167,7 @@ def inputMsg():
     msg = data['msg']
     # 调用大模型解析
     # 这里调用大模型,并返回解析结果
-    # 生成提示信息
-    # 定义输入信息变量
-    # 生成提示信息
 
-    # 生成提示信息 
-    # todo 修改提示,无关选址需求会输出模版  有关要求但不全会输出未找到相关数据
-    
     # 示例:用户输入一条消息
     # msg= "我计划在抱坡区选取适宜地块作为工业用地,要求其在城市开发边界内,离小学大于1000m,坡度小于25度,用地面积在80-100亩之间。"
     res = update_chat_history(msg)