glchat-plugin 0.3.2__py3-none-any.whl → 0.3.4__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.
- glchat_plugin/config/constant.py +2 -0
- glchat_plugin/pipeline/base_pipeline_preset_config.py +2 -0
- {glchat_plugin-0.3.2.dist-info → glchat_plugin-0.3.4.dist-info}/METADATA +1 -1
- {glchat_plugin-0.3.2.dist-info → glchat_plugin-0.3.4.dist-info}/RECORD +6 -6
- {glchat_plugin-0.3.2.dist-info → glchat_plugin-0.3.4.dist-info}/WHEEL +0 -0
- {glchat_plugin-0.3.2.dist-info → glchat_plugin-0.3.4.dist-info}/top_level.txt +0 -0
glchat_plugin/config/constant.py
CHANGED
|
@@ -17,6 +17,7 @@ class SearchType(StrEnum):
|
|
|
17
17
|
Attributes:
|
|
18
18
|
NORMAL: Get answer from chatbot knowledge.
|
|
19
19
|
SEARCH: Get answer from various connectors.
|
|
20
|
+
SQL_SEARCH: Get answer from SQL-based database.
|
|
20
21
|
WEB: Get more relevant information from the web. (DEPRECATED)
|
|
21
22
|
Web Search uses real-time data. Agent selection isn't available in this mode.
|
|
22
23
|
DEEP_RESEARCH: Get answer from Deep Research Agent.
|
|
@@ -31,6 +32,7 @@ class SearchType(StrEnum):
|
|
|
31
32
|
|
|
32
33
|
NORMAL = "normal"
|
|
33
34
|
SEARCH = "search"
|
|
35
|
+
SQL_SEARCH = "sql_search"
|
|
34
36
|
_WEB = "web" # Underscore to hide it from normal use
|
|
35
37
|
_DEEP_RESEARCH = "deep_research"
|
|
36
38
|
ESSENTIALS_DEEP_RESEARCH = "essentials_deep_research"
|
|
@@ -39,6 +39,7 @@ class BasePipelinePresetConfig(BaseModel):
|
|
|
39
39
|
retrieve_memory_threshold (float): The retrieve memory threshold.
|
|
40
40
|
retrieve_memory_top_k (int): The retrieve memory top k.
|
|
41
41
|
enable_memory (bool): Whether to enable memory.
|
|
42
|
+
enable_live_chat (bool): Whether to enable live chat.
|
|
42
43
|
use_cache (bool): Whether to use cache.
|
|
43
44
|
chat_history_limit (int): The chat history limit.
|
|
44
45
|
anonymize_em (bool): Whether to anonymize before using the embedding model.
|
|
@@ -63,6 +64,7 @@ class BasePipelinePresetConfig(BaseModel):
|
|
|
63
64
|
retrieve_memory_threshold: float = Field(default=0.3, ge=0, le=1)
|
|
64
65
|
retrieve_memory_top_k: int = Field(default=10, ge=1)
|
|
65
66
|
enable_memory: bool = False
|
|
67
|
+
enable_live_chat: bool = False
|
|
66
68
|
use_cache: bool
|
|
67
69
|
chat_history_limit: int
|
|
68
70
|
anonymize_em: bool
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
glchat_plugin/__init__.py,sha256=SHSBMz7JDU6MecyIrhHu5-3NVs89JkXhyvD3ZGOkWOE,37
|
|
2
2
|
glchat_plugin/config/__init__.py,sha256=DNnX8B_TvAN89oyMgq32zG1DeaezODrihiAXTwOPT5o,39
|
|
3
3
|
glchat_plugin/config/app_config.py,sha256=9_ShYtaQ7Rp14sSkrIFLoOAMlbwVlm13EuCxzOn4NCI,426
|
|
4
|
-
glchat_plugin/config/constant.py,sha256=
|
|
4
|
+
glchat_plugin/config/constant.py,sha256=DB6-XlINqhRU6qGrDbOA7OSMk9uiq4l2nYYMVjEnDTY,3590
|
|
5
5
|
glchat_plugin/context/__init__.py,sha256=3Wx_apMIS6z-m6eRs6hoyOsJFLJfKmMFOkrPDkPQfJI,40
|
|
6
6
|
glchat_plugin/context/context_manager.py,sha256=0lhO0w_hd5dUdIEJQ2LOJFZsgpzitQU_aPZfTfQK3vw,1302
|
|
7
7
|
glchat_plugin/handler/__init__.py,sha256=H5DJaAfwwtRsvMcOaEzHfGMQk25H7la0E7uPfksWtoQ,40
|
|
8
8
|
glchat_plugin/handler/base_post_login_handler.py,sha256=48xSbe_LwTCjRY-lCuzWXqbnEr1ql8bAhQih1Xeh8f8,2835
|
|
9
9
|
glchat_plugin/pipeline/__init__.py,sha256=Sk-NfIGyA9VKIg0Bt5OHatNUYyWVPh9i5xhE5DFAfbo,41
|
|
10
|
-
glchat_plugin/pipeline/base_pipeline_preset_config.py,sha256=
|
|
10
|
+
glchat_plugin/pipeline/base_pipeline_preset_config.py,sha256=vr453A2Nx09LqBYbsAVsMutD952wKh3udE1L4vXKyEI,2852
|
|
11
11
|
glchat_plugin/pipeline/pipeline_handler.py,sha256=aCRvhS6Dkhmqsx_Ya-2t2PbMseacw1VI6PUEOQq0RsM,25620
|
|
12
12
|
glchat_plugin/pipeline/pipeline_plugin.py,sha256=fozvxVrOphgwLIF7uPrEkF8ZQcu8xgifYAQyuxj9628,4393
|
|
13
13
|
glchat_plugin/service/__init__.py,sha256=9T4qzyYL052qLqva5el1F575OTRNaaf9tb9UvW-leTc,47
|
|
@@ -19,7 +19,7 @@ glchat_plugin/storage/base_anonymizer_storage.py,sha256=oFwovWrsjM7v1YjeN-4p-M3O
|
|
|
19
19
|
glchat_plugin/storage/base_chat_history_storage.py,sha256=JvUUFMu_9jRBQ9yug_x7S4rQjZEA1vM5ombDvz-7zCE,11095
|
|
20
20
|
glchat_plugin/tools/__init__.py,sha256=OFotHbgQ8mZEbdlvlv5aVMdxfubPvkVWAcTwhIPdIqQ,542
|
|
21
21
|
glchat_plugin/tools/decorators.py,sha256=AvQBV18wzXWdC483RSSmpfh92zsqTyp8SzDLIkreIGU,3925
|
|
22
|
-
glchat_plugin-0.3.
|
|
23
|
-
glchat_plugin-0.3.
|
|
24
|
-
glchat_plugin-0.3.
|
|
25
|
-
glchat_plugin-0.3.
|
|
22
|
+
glchat_plugin-0.3.4.dist-info/METADATA,sha256=ZBhIffx9SQYiLZ-DF6wJbULmrDxRK-3sUFchFtEeSHg,2063
|
|
23
|
+
glchat_plugin-0.3.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
24
|
+
glchat_plugin-0.3.4.dist-info/top_level.txt,sha256=fzKSXmct5dY4CAKku4-mkdHX-QPAyQVvo8vpQj8qizY,14
|
|
25
|
+
glchat_plugin-0.3.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|