Spaces:
Running
on
Zero
Running
on
Zero
ds
Browse files- babyagi/prompt.txt +1 -1
- controllers/gpt_enginner20240629085138 +1 -0
- routers/webhook.py +6 -4
babyagi/prompt.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
|
|
1 |
+
オンライン買取の質問 についてチャットボットでよりよく対応するプランを日本語で作成して
|
controllers/gpt_enginner20240629085138
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit b2ca5e534d3719813c0030e0ab18117866a933e6
|
routers/webhook.py
CHANGED
@@ -149,8 +149,8 @@ async def webhook(request: Request):
|
|
149 |
link_text = "データを確認する"
|
150 |
link_url = "https://kenken999-php.hf.space/diamondprice_list.php"
|
151 |
#test_set_lide(subtitle, text)
|
152 |
-
if DEBUG==0:
|
153 |
-
|
154 |
|
155 |
#thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
|
156 |
#return
|
@@ -159,8 +159,10 @@ async def webhook(request: Request):
|
|
159 |
first_line = text.split('\n')[0]
|
160 |
#test_prompt
|
161 |
res = test_prompt("返信は必ず日本語でして下さい \r\n"+prompt_res,text)
|
162 |
-
|
163 |
-
|
|
|
|
|
164 |
#thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
|
165 |
now = datetime.now()
|
166 |
yyyymmddhis = now.strftime('%Y%m%d%H%M%S')
|
|
|
149 |
link_text = "データを確認する"
|
150 |
link_url = "https://kenken999-php.hf.space/diamondprice_list.php"
|
151 |
#test_set_lide(subtitle, text)
|
152 |
+
#if DEBUG==0:
|
153 |
+
# thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
|
154 |
|
155 |
#thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
|
156 |
#return
|
|
|
159 |
first_line = text.split('\n')[0]
|
160 |
#test_prompt
|
161 |
res = test_prompt("返信は必ず日本語でして下さい \r\n"+prompt_res,text)
|
162 |
+
|
163 |
+
#if DEBUG==1:
|
164 |
+
# thread_name = send_google_chat_card_thread(webhook_url, "プロンプトテスト "+first_line, str(res), link_text, link_url,thread_name)
|
165 |
+
|
166 |
#thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
|
167 |
now = datetime.now()
|
168 |
yyyymmddhis = now.strftime('%Y%m%d%H%M%S')
|