botrun-hatch 5.3.171__py3-none-any.whl → 5.5.201__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- botrun_hatch/models/hatch.py +2 -0
- botrun_hatch/models/hatch_sharing.py +9 -0
- {botrun_hatch-5.3.171.dist-info → botrun_hatch-5.5.201.dist-info}/METADATA +1 -1
- botrun_hatch-5.5.201.dist-info/RECORD +9 -0
- {botrun_hatch-5.3.171.dist-info → botrun_hatch-5.5.201.dist-info}/WHEEL +1 -1
- botrun_hatch-5.3.171.dist-info/RECORD +0 -8
botrun_hatch/models/hatch.py
CHANGED
@@ -9,11 +9,13 @@ class Hatch(BaseModel):
|
|
9
9
|
@user_prompt_prefix: 每次的 user prompt 前面都會加入這段文字
|
10
10
|
@search_domain_filter: 搜尋的網域限制, 目前只有針對 perplexit 有效, 範例:["*.gov.tw", "-*.gov.cn"]
|
11
11
|
@files: 上傳的檔案,這裡存的是 metadata,真正的檔案會存在 gcs,以 user_id/id 為 key來存,目前只會存extract後純文字的內容
|
12
|
+
@agent_model_name: 使用 agent 時的 model 名稱
|
12
13
|
"""
|
13
14
|
|
14
15
|
user_id: str
|
15
16
|
id: str
|
16
17
|
model_name: str = ""
|
18
|
+
agent_model_name: str = ""
|
17
19
|
prompt_template: str
|
18
20
|
user_prompt_prefix: str = ""
|
19
21
|
name: str = "" # 将 name 设为可选字段,默认为空字符串
|
@@ -0,0 +1,9 @@
|
|
1
|
+
botrun_hatch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
botrun_hatch/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
+
botrun_hatch/models/hatch.py,sha256=s1TDJvDMDR2tflFLnUG_slzropO3kff2mhceL4jyQig,1068
|
4
|
+
botrun_hatch/models/hatch_sharing.py,sha256=76Dwrtlzh7sCjAXcWEy7dIfOwbNUGXYE7IGVve5jWhU,224
|
5
|
+
botrun_hatch/models/upload_file.py,sha256=bl5gN7wE_mArZQHjZTH9v9O20us45MTcjCUI1iUv1yk,863
|
6
|
+
botrun_hatch/models/user_setting.py,sha256=lgwcPPzjHXdd1xys3boQsFWp4VLyASVlPCAFKv5NLvA,227
|
7
|
+
botrun_hatch-5.5.201.dist-info/METADATA,sha256=Xlq8VOOUF9pqQxCWEq9sXVhCsHRIXEaZx1q-xIXdqAM,459
|
8
|
+
botrun_hatch-5.5.201.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
9
|
+
botrun_hatch-5.5.201.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
botrun_hatch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
botrun_hatch/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
botrun_hatch/models/hatch.py,sha256=8jpX3ekzhHB7RB_aUbJr8OY8DvV2ioi0kpmCMn3Fr_k,981
|
4
|
-
botrun_hatch/models/upload_file.py,sha256=bl5gN7wE_mArZQHjZTH9v9O20us45MTcjCUI1iUv1yk,863
|
5
|
-
botrun_hatch/models/user_setting.py,sha256=lgwcPPzjHXdd1xys3boQsFWp4VLyASVlPCAFKv5NLvA,227
|
6
|
-
botrun_hatch-5.3.171.dist-info/METADATA,sha256=PCqNlIUB9Wi3gIjwKopSBrO-YdKdYcllQ95Btv84N28,459
|
7
|
-
botrun_hatch-5.3.171.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
8
|
-
botrun_hatch-5.3.171.dist-info/RECORD,,
|