kenken999 commited on
Commit
52315f1
1 Parent(s): 12a51d7
chat_history.db CHANGED
Binary files a/chat_history.db and b/chat_history.db differ
 
controllers/gpt_enginner20240624112106 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit b9237245c514dd3011cdb544f80341039ae7157d
mysite/routers/fastapi.py CHANGED
@@ -292,8 +292,9 @@ def setup_webhook_routes(app: FastAPI):
292
  thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
293
  #########################################################################
294
  from babyagi.babyagi import completion
 
295
  proc = subprocess.Popen(
296
- ["make", "runbabyagi", text+"に対して、より良いチャットボットでのQ&Aプランの提案"],
297
  stdin=subprocess.PIPE,
298
  stdout=subprocess.PIPE,
299
  stderr=subprocess.PIPE,
 
292
  thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
293
  #########################################################################
294
  from babyagi.babyagi import completion
295
+ command = f'make runbabyagi "{text}に対して、より良いチャットボットでのQ&Aプランの提案"'
296
  proc = subprocess.Popen(
297
+ command,
298
  stdin=subprocess.PIPE,
299
  stdout=subprocess.PIPE,
300
  stderr=subprocess.PIPE,