kenken999 commited on
Commit
6ad1672
·
1 Parent(s): 71bdce4
babyagi/prompt.txt CHANGED
@@ -1 +1 @@
1
- よろしくお願い致します。の質問 についてチャットボットでよりよく対応するプランを日本語で作成して
 
1
+ 買取方法の質問 についてチャットボットでよりよく対応するプランを日本語で作成して
controllers/gpt_enginner20240702050139 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 9dc3e96b08cb8475b6c8ada47682e6940f1ea8b7
controllers/gpt_enginner20240702050342 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 8e38910f8eeb15ed1bca4fd6869ee9815f07a6f6
controllers/gpt_enginner20240702051059 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit fb7d6ba51978693b0d6e590ea957c1193b061dce
controllers/gpt_enginner20240702051419 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit a19b8ee7773de7839aedffaa6b0102241e9c7f62
controllers/gpt_enginner20240702052611 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 77a1df6bf2de76c564a6b4caf2e5c57bba081b19
routers/webhook.py CHANGED
@@ -179,20 +179,21 @@ async def webhook(request: Request):
179
  full_response,history = chat_with_interpreter_no_stream(prompt_for_create_system+"\r\n"+res)
180
  if DEBUG==1:
181
  thread_name = send_google_chat_card_thread(webhook_url, f"自動設定開始 {res}", str(full_response), link_text, link_url,thread_name)
182
- #########################################################################
183
  #ダイヤ金額計算
184
  from babyagi.classesa.diamond import calculate
185
- title = f""" ダイヤ予測計算の実行 類似5件表示 {text}
186
- id,price,carat, cut, color, clarity, depth, diamondprice.table, x, y, z 類似度"""
187
- #ベクトルインデックス
188
- res_calculate = calculate(text)
189
- subtitle = res_calculate
190
- link_text = "データを確認する"
191
- link_url = "https://kenken999-php.hf.space/diamondprice_list.php"
192
- #########################################################################
193
- #test_set_lide(subtitle, text)
194
-
195
  if DEBUG==0:
 
 
 
 
 
 
 
 
 
 
 
196
  thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
197
  #########################################################################
198
  from babyagi.babyagi import completion
 
179
  full_response,history = chat_with_interpreter_no_stream(prompt_for_create_system+"\r\n"+res)
180
  if DEBUG==1:
181
  thread_name = send_google_chat_card_thread(webhook_url, f"自動設定開始 {res}", str(full_response), link_text, link_url,thread_name)
182
+ てs####################################################################
183
  #ダイヤ金額計算
184
  from babyagi.classesa.diamond import calculate
 
 
 
 
 
 
 
 
 
 
185
  if DEBUG==0:
186
+ title = f""" ダイヤ予測計算の実行 類似5件表示 {text}
187
+ id,price,carat, cut, color, clarity, depth, diamondprice.table, x, y, z 類似度"""
188
+ #ベクトルインデックス
189
+ res_calculate = calculate(text)
190
+ subtitle = res_calculate
191
+ link_text = "データを確認する"
192
+ link_url = "https://kenken999-php.hf.space/diamondprice_list.php"
193
+ #########################################################################
194
+ #test_set_lide(subtitle, text)
195
+
196
+ #if DEBUG==0:
197
  thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
198
  #########################################################################
199
  from babyagi.babyagi import completion