Spaces:
Running
on
Zero
Running
on
Zero
res = test_prompt("返信は必ず日本語でして下さい \r\n"+prompt_res,text)
Browse files- chat_history.db +0 -0
- controllers/gpt_enginner20240619122222 +1 -0
- mysite/routers/fastapi.py +1 -1
chat_history.db
CHANGED
Binary files a/chat_history.db and b/chat_history.db differ
|
|
controllers/gpt_enginner20240619122222
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit b4f87cc20643359fdbcdc6d82df01243e506ce90
|
mysite/routers/fastapi.py
CHANGED
@@ -183,7 +183,7 @@ def setup_webhook_routes(app: FastAPI):
|
|
183 |
#test case
|
184 |
first_line = text.split('\n')[0]
|
185 |
#test_prompt
|
186 |
-
res = test_prompt("返信は必ず日本語でして下さい "+prompt_res,text)
|
187 |
send_google_chat_card(webhook_url, "プロンプトテスト "+first_line, str(res), link_text, link_url)
|
188 |
now = datetime.now()
|
189 |
yyyymmddhis = now.strftime('%Y%m%d%H%M%S')
|
|
|
183 |
#test case
|
184 |
first_line = text.split('\n')[0]
|
185 |
#test_prompt
|
186 |
+
res = test_prompt("返信は必ず日本語でして下さい \r\n"+prompt_res,text)
|
187 |
send_google_chat_card(webhook_url, "プロンプトテスト "+first_line, str(res), link_text, link_url)
|
188 |
now = datetime.now()
|
189 |
yyyymmddhis = now.strftime('%Y%m%d%H%M%S')
|