Update modules/chat_func.py
Browse files- modules/chat_func.py +2 -0
modules/chat_func.py
CHANGED
@@ -213,6 +213,8 @@ def predict_all(
|
|
213 |
else:
|
214 |
all_token_counts.append(count_token(construct_user(inputs)))
|
215 |
try:
|
|
|
|
|
216 |
# 如果能传入index,则此处里获得初筛后的店铺和菜名
|
217 |
response = get_response(
|
218 |
openai_api_key,
|
|
|
213 |
else:
|
214 |
all_token_counts.append(count_token(construct_user(inputs)))
|
215 |
try:
|
216 |
+
logging.info(f"system_prompt:{system_prompt}")
|
217 |
+
logging.info(f"history:{history}")
|
218 |
# 如果能传入index,则此处里获得初筛后的店铺和菜名
|
219 |
response = get_response(
|
220 |
openai_api_key,
|