kenken999 commited on
Commit
e5a1f7a
·
1 Parent(s): 0122be6
Files changed (1) hide show
  1. mysite/routers/fastapi.py +3 -2
mysite/routers/fastapi.py CHANGED
@@ -184,12 +184,13 @@ def setup_webhook_routes(app: FastAPI):
184
  """
185
  # 査定用のプロンプト
186
  promps,prompt_res = prompt_genalate("返信は日本語で答えて下さい "+text,prompt2)
 
187
  #test_set_lide(text,"a1")
188
  #no_process_file(text, "ai")
189
  #\r\m
190
  from babyagi.classesa.diamond import calculate
191
- title = f""" ダイヤ予測計算の実行 類似5件表示 {promps} \r\m id,price,carat, cut, color, clarity, depth, diamondprice.table, x, y, z 類似度"""
192
- res_calculate = calculate(promps)
193
  subtitle = res_calculate
194
  link_text = "データを確認する"
195
  link_url = "https://kenken999-php.hf.space/diamondprice_list.php"
 
184
  """
185
  # 査定用のプロンプト
186
  promps,prompt_res = prompt_genalate("返信は日本語で答えて下さい "+text,prompt2)
187
+
188
  #test_set_lide(text,"a1")
189
  #no_process_file(text, "ai")
190
  #\r\m
191
  from babyagi.classesa.diamond import calculate
192
+ title = f""" ダイヤ予測計算の実行 類似5件表示 {text} \r\m id,price,carat, cut, color, clarity, depth, diamondprice.table, x, y, z 類似度"""
193
+ res_calculate = calculate(text)
194
  subtitle = res_calculate
195
  link_text = "データを確認する"
196
  link_url = "https://kenken999-php.hf.space/diamondprice_list.php"