Spaces:
Running
on
Zero
Running
on
Zero
tes
Browse files- babyagi/prompt.txt +1 -14
- command/phprunner.py +4 -2
- controllers/gpt_enginner20240628135528 +1 -0
- controllers/gpt_enginner20240628135635 +1 -0
- controllers/gpt_enginner20240628135850 +1 -0
- controllers/gpt_enginner20240628140706 +1 -0
- controllers/gpt_enginner20240628141801 +1 -0
- routers/webhook.py +1 -1
babyagi/prompt.txt
CHANGED
@@ -1,14 +1 @@
|
|
1 |
-
|
2 |
-
・モデル名:リアン エターナル
|
3 |
-
・型番や品番:1510361006-02-09
|
4 |
-
・購入店:博多阪急サマンサティアラ
|
5 |
-
・購入時期:2019/4/13
|
6 |
-
・購入金額:約12,000円
|
7 |
-
・付属品:リングケース、販売証明書、手提げ紙袋
|
8 |
-
・コンディション:8
|
9 |
-
(10段階評価厳しめ)
|
10 |
-
・貴金属品位:シルバー
|
11 |
-
・貴金属重量:約2g
|
12 |
-
(キッチンスケールでも(sparkle))
|
13 |
-
・ダイヤや宝石の鑑定書はお写真で!
|
14 |
-
・イニシャル:なしの質問 についてチャットボットでよりよく対応するプランを日本語で作成して
|
|
|
1 |
+
精度をだすには?の質問 についてチャットボットでよりよく対応するプランを日本語で作成して
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
command/phprunner.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import requests
|
2 |
|
3 |
-
def
|
4 |
|
5 |
url = "https://kenken999-php.hf.space/api/v1.php"
|
6 |
|
7 |
-
payload = f"""model_name={word}&vector_text={
|
8 |
headers = {
|
9 |
'X-Auth-Token': 'admin',
|
10 |
'Content-Type': 'application/x-www-form-urlencoded',
|
@@ -15,3 +15,5 @@ def create_vector(word,prompt):
|
|
15 |
|
16 |
print(response.text)
|
17 |
return True
|
|
|
|
|
|
1 |
import requests
|
2 |
|
3 |
+
def phprunner_create_vector(word,prompt):
|
4 |
|
5 |
url = "https://kenken999-php.hf.space/api/v1.php"
|
6 |
|
7 |
+
payload = f"""model_name={word}&vector_text={prompt}&table=products&action=insert"""
|
8 |
headers = {
|
9 |
'X-Auth-Token': 'admin',
|
10 |
'Content-Type': 'application/x-www-form-urlencoded',
|
|
|
15 |
|
16 |
print(response.text)
|
17 |
return True
|
18 |
+
|
19 |
+
|
controllers/gpt_enginner20240628135528
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 33c0c88423951317792aa47ab0f09d3e6ef28693
|
controllers/gpt_enginner20240628135635
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 5a9a363f72f71a85df5a2fc9564d1ec10c10eaf2
|
controllers/gpt_enginner20240628135850
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit cf4363322970738cf5302603cf80a744db40fe1d
|
controllers/gpt_enginner20240628140706
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit b075912add67f841af64c44b1de0fd651f71397a
|
controllers/gpt_enginner20240628141801
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 648a925cd3e30227ae1050db53dab8a2cb8e8d2a
|
routers/webhook.py
CHANGED
@@ -129,7 +129,7 @@ async def webhook(request: Request):
|
|
129 |
"Authorization": f"Bearer {os.getenv('ChannelAccessToken')}",
|
130 |
}
|
131 |
#/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3f
|
132 |
-
|
133 |
#http://localhost:7860/webhook/d2d0af6e-5c42-45b6-a923-3bd2d8520e3d
|
134 |
post_data_line("https://kenken999-nodex-n8n.hf.space/webhook/d2d0af6e-5c42-45b6-a923-3bd2d8520e3d",body,headers)
|
135 |
|
|
|
129 |
"Authorization": f"Bearer {os.getenv('ChannelAccessToken')}",
|
130 |
}
|
131 |
#/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3f
|
132 |
+
post_data_line("https://kenken999-nodex-n8n.hf.space/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3d",body,headers)
|
133 |
#http://localhost:7860/webhook/d2d0af6e-5c42-45b6-a923-3bd2d8520e3d
|
134 |
post_data_line("https://kenken999-nodex-n8n.hf.space/webhook/d2d0af6e-5c42-45b6-a923-3bd2d8520e3d",body,headers)
|
135 |
|