From cef21524d52e49b58139b222089fb58c5894182f Mon Sep 17 00:00:00 2001 From: makexine <49511175+makexine@users.noreply.github.com> Date: Wed, 25 Oct 2023 17:20:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E6=A8=A1=E5=9E=8B=E5=A4=9A=E8=BD=AE?= =?UTF-8?q?=E5=AF=B9=E8=AF=9D=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- llm_clients.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llm_clients.py b/llm_clients.py index 34c3015..a81b50c 100644 --- a/llm_clients.py +++ b/llm_clients.py @@ -2,7 +2,7 @@ import requests import urllib3 ######################################## -# 该文件实现了与大模型的简单通信 +# 该文件实现了与大模型的简单通信、多轮对话,输入end表示对话结束 ######################################## # 忽略https的安全性警告 @@ -26,4 +26,4 @@ while k!='end': assistant_dict={"role": "assistant","content":answer} data_memory.append(assistant_dict) n=n+2 - k=input() \ No newline at end of file + k=input()