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()