kenken999 commited on
Commit
fe2a1e9
1 Parent(s): 8f10d41
babyagi/prompt.txt CHANGED
@@ -1 +1 @@
1
- よろしくお願い致します。の質問 についてチャットボットでよりよく対応するプランを日本語で作成して
 
1
+ 当方、あいわ商事ではないですが、査定額に変更はないでしょうか?の質問 についてチャットボットでよりよく対応するプランを日本語で作成して
chat_history.db CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b19cf1ae2d0c3b61a24489a91ccefd9a10318c58dc75956e97a67f2e157c3e39
3
- size 1540096
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ef993f4ab23139c9a4fcf5d8b1760c4e78966ded45b8828c2506ef3ce99171b
3
+ size 1589248
controllers/gpt_enginner20240626044941 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit ada2ec17cf97b7ff7c475faf5a73dbde4108cf99
controllers/gpt_enginner20240626050332 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 56cd130e198c292150c40839220ea2bef3f62b03
controllers/gpt_enginner20240626050528 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 003c837e02249725dd3e51b0f31213d268fafaa1
controllers/gpt_enginner20240626051544 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit e9020c1130c7412631cc5a5f6d41c09de898afe0
controllers/gpt_enginner20240626051946 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 523ab502847bdf7d710db297db2560a6a21efbe9
mysite/routers/fastapi.py CHANGED
@@ -76,22 +76,7 @@ def setup_webhook_routes(app: FastAPI):
76
  from polls.routers import register_routers
77
 
78
  register_routers(app)
79
- """
80
- @app.post("/webhooks")
81
- def get_choices(
82
- messages
83
- ):
84
- logger.info("[Start] ====== LINE webhook ======")
85
- try:
86
- now = datetime.now().strftime("%Y%m%d%H%M%S")
87
- user_id_with_timestamp = messages[:10]
88
- #user_id_with_timestamp = messages#f"{now}_{title}_{user_id}"
89
- no_process_file(messages, user_id_with_timestamp)
90
- #db登録
91
- test_set_lide(messages, user_id_with_timestamp)
92
- except Exception as e:
93
- logger.error("Error: %s", str(e))
94
- """
95
  @app.post("/webhook")
96
  async def webhook(request: Request):
97
  #return
@@ -454,3 +439,4 @@ def setup_webhook_routes(app: FastAPI):
454
  #raise するとシステムとまるのでアンコメント
455
  #raise HTTPException(status_code=500, detail=str(e))
456
  return {"status": "success", "response_content": str(e)}#, response.status_code
 
 
76
  from polls.routers import register_routers
77
 
78
  register_routers(app)
79
+ """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  @app.post("/webhook")
81
  async def webhook(request: Request):
82
  #return
 
439
  #raise するとシステムとまるのでアンコメント
440
  #raise HTTPException(status_code=500, detail=str(e))
441
  return {"status": "success", "response_content": str(e)}#, response.status_code
442
+ """
routers/webhook.py CHANGED
@@ -2,8 +2,10 @@
2
  from fastapi import APIRouter, HTTPException
3
 
4
  #router = APIRouter()
5
- router = APIRouter(prefix="/testcc", tags=["leatestccning"])
6
- @router.get("/route/webhooks")
 
 
7
  async def webhook(request: Request):
8
  #return
9
  #logger.info("[Start] ====== LINE webhook ======")
 
2
  from fastapi import APIRouter, HTTPException
3
 
4
  #router = APIRouter()
5
+ router = APIRouter()
6
+ #@router.get("/route/webhooks")
7
+
8
+ @router.post("/webhook")
9
  async def webhook(request: Request):
10
  #return
11
  #logger.info("[Start] ====== LINE webhook ======")
workspace/new_file.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ This is a new file!