kenken999 commited on
Commit
fedefdf
1 Parent(s): 6cd0ee1
apprasial/__init__.py ADDED
File without changes
apprasial/admin.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from django.contrib import admin
2
+
3
+ # Register your models here.
apprasial/apps.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from django.apps import AppConfig
2
+
3
+
4
+ class ApprasialConfig(AppConfig):
5
+ default_auto_field = 'django.db.models.BigAutoField'
6
+ name = 'apprasial'
apprasial/migrations/__init__.py ADDED
File without changes
apprasial/models.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from django.db import models
2
+
3
+ # Create your models here.
apprasial/tests.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from django.test import TestCase
2
+
3
+ # Create your tests here.
apprasial/views.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from django.shortcuts import render
2
+
3
+ # Create your views here.
babyagi/prompt.txt CHANGED
@@ -1,6 +1 @@
1
- 事前査定結果ありがとうございます!
2
-
3
- ムーブメントとガラスの重さを引いて、その日の金の価格で決まる感じでしょうか?
4
-
5
- 近日中にお伺いしようと思っていますので、来店予約見てみますね。
6
- よろしくお願いいたします。の質問 についてチャットボットでよりよく対応するプランを日本語で作成して
 
1
+ 【リッチメニュー】本日の金価格の質問 についてチャットボットでよりよく対応するプランを日本語で作成して
 
 
 
 
 
chat_history.db CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:75afc59abe2db8e8020dcb0fdb467a1aac8073ce314cffd56e9bc7075141a54f
3
- size 2035712
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:053e388922279cf2da0c159595f0d1cbf93b1084e3ad7759bbd3623a2f29d6ff
3
+ size 2052096
controllers/gpt_enginner20240626105232 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 1a465f0fa3f63e943ae62f84c443a7c2beeb02c2
controllers/gpt_enginner20240626105636 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 28083b18ba73556bdde9d635f79e49b203080e74
routers/webhook.py CHANGED
@@ -66,7 +66,7 @@ async def webhook(request: Request):
66
  message_id = message.get('id')
67
  message_text = message.get('text')
68
  quote_token = message.get('quoteToken')
69
-
70
  # ソース情報を取得
71
  source = event.get('source', {})
72
  source_type = source.get('type')
@@ -98,7 +98,7 @@ async def webhook(request: Request):
98
 
99
 
100
  subtitle = f"""
101
- <b>User ID:</b> {user_id}<br>
102
  <b>Text:</b> {text}<br>
103
  <b>Event Type:</b> {event_type}<br>
104
  <b>Webhook Event ID:</b> {webhook_event_id}<br>
 
66
  message_id = message.get('id')
67
  message_text = message.get('text')
68
  quote_token = message.get('quoteToken')
69
+ chat_id = event.get('source', {}).get('chatId')
70
  # ソース情報を取得
71
  source = event.get('source', {})
72
  source_type = source.get('type')
 
98
 
99
 
100
  subtitle = f"""
101
+ <b>User ID:</b> {chat_id}--{user_id}<br>
102
  <b>Text:</b> {text}<br>
103
  <b>Event Type:</b> {event_type}<br>
104
  <b>Webhook Event ID:</b> {webhook_event_id}<br>
workspace/project/main.py CHANGED
@@ -0,0 +1,2 @@
 
 
 
1
+ #!/usr/bin/env 3
2
+ print('Hello, World!')