ambivo-agents 1.0.3__py3-none-any.whl → 1.0.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.
- ambivo_agents/agents/knowledge_base.py +6 -2
- {ambivo_agents-1.0.3.dist-info → ambivo_agents-1.0.4.dist-info}/METADATA +1 -1
- {ambivo_agents-1.0.3.dist-info → ambivo_agents-1.0.4.dist-info}/RECORD +7 -7
- {ambivo_agents-1.0.3.dist-info → ambivo_agents-1.0.4.dist-info}/WHEEL +0 -0
- {ambivo_agents-1.0.3.dist-info → ambivo_agents-1.0.4.dist-info}/entry_points.txt +0 -0
- {ambivo_agents-1.0.3.dist-info → ambivo_agents-1.0.4.dist-info}/licenses/LICENSE +0 -0
- {ambivo_agents-1.0.3.dist-info → ambivo_agents-1.0.4.dist-info}/top_level.txt +0 -0
@@ -99,7 +99,9 @@ class QdrantServiceAdapter:
|
|
99
99
|
|
100
100
|
# Create collection name with prefix from config
|
101
101
|
collection_prefix = kb_config.get('default_collection_prefix', '')
|
102
|
-
collection_name =
|
102
|
+
collection_name = kb_name
|
103
|
+
if collection_prefix:
|
104
|
+
collection_name = f"{collection_prefix}_{kb_name}"
|
103
105
|
|
104
106
|
# Create vector store and index
|
105
107
|
from llama_index.core import VectorStoreIndex, StorageContext
|
@@ -127,7 +129,9 @@ class QdrantServiceAdapter:
|
|
127
129
|
kb_config = get_config_section('knowledge_base', config)
|
128
130
|
|
129
131
|
collection_prefix = kb_config.get('default_collection_prefix', '')
|
130
|
-
collection_name =
|
132
|
+
collection_name = kb_name
|
133
|
+
if collection_prefix:
|
134
|
+
collection_name = f"{collection_prefix}_{kb_name}"
|
131
135
|
|
132
136
|
similarity_top_k = kb_config.get('similarity_top_k', 5)
|
133
137
|
|
@@ -4,7 +4,7 @@ ambivo_agents/agents/__init__.py,sha256=txRMXviKvTP5kNRTsthX_cJ8jROpLJQBQPT-Yx_E
|
|
4
4
|
ambivo_agents/agents/assistant.py,sha256=CvMeJFfTI1h2UKeWLFPzD9v0a4Ki-tHgJamV7A2fdrU,8377
|
5
5
|
ambivo_agents/agents/code_executor.py,sha256=sj9DbBkSbNkC44ErvMHDXThBzYYi4LkQUQrl99bn7R8,5289
|
6
6
|
ambivo_agents/agents/code_executor2.py,sha256=AgOSjNY-_KTUlfkoKH-WA5L9xnT1QvEWwDLTVdzCRUc,9057
|
7
|
-
ambivo_agents/agents/knowledge_base.py,sha256=
|
7
|
+
ambivo_agents/agents/knowledge_base.py,sha256=ppnoz8bjm9UklhmTRNdk5ZEhTb71tnt2gg5ODr7Uf3w,38678
|
8
8
|
ambivo_agents/agents/media_editor.py,sha256=7azATDw_xWTlHY1HKtZWXyl93c--W2A5t6yQXXgTjPg,42750
|
9
9
|
ambivo_agents/agents/moderator.py,sha256=99uTs1Vb3pY1llfBDMsGL-hwKDJb1K4hj7nUBHAE0n8,24485
|
10
10
|
ambivo_agents/agents/simple_web_search.py,sha256=9_RuXIHE_itWxtqCRcwagDL0SKZBEjb-HhYQq0f3vvk,14004
|
@@ -25,9 +25,9 @@ ambivo_agents/executors/youtube_executor.py,sha256=RFm9_D6qrFlvZkZ6l-L1ZmN16kBz2
|
|
25
25
|
ambivo_agents/services/__init__.py,sha256=HY7vfYs5-YPz5-778i_YRGDPLpP3Li6j-1-sQYualSU,202
|
26
26
|
ambivo_agents/services/agent_service.py,sha256=rB3MAXkPYqounPuOCjjXa0Dzh5y1xzAAb1NBEgZYyr0,24904
|
27
27
|
ambivo_agents/services/factory.py,sha256=C-eZcS9UyUiDVeOnYPeixZ4F_2IFqDdySl24qzXVMbo,16431
|
28
|
-
ambivo_agents-1.0.
|
29
|
-
ambivo_agents-1.0.
|
30
|
-
ambivo_agents-1.0.
|
31
|
-
ambivo_agents-1.0.
|
32
|
-
ambivo_agents-1.0.
|
33
|
-
ambivo_agents-1.0.
|
28
|
+
ambivo_agents-1.0.4.dist-info/licenses/LICENSE,sha256=N9hzEKOrKL9mGvT5Hq0Mab9giyKpZtTiH7cBTdkWJZo,1086
|
29
|
+
ambivo_agents-1.0.4.dist-info/METADATA,sha256=igD7yAvIf7ukcaQus02wcrBEVxgz65RzhTTAUsg3A3w,25300
|
30
|
+
ambivo_agents-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
31
|
+
ambivo_agents-1.0.4.dist-info/entry_points.txt,sha256=ShR1PcpPBV-e7nyLPGUHBluLdCyuoUlJmxh2XpUzbso,87
|
32
|
+
ambivo_agents-1.0.4.dist-info/top_level.txt,sha256=9PR71w0Op0nCVZrVSuxUwVWVZsGFyoOdEr7Hn6iEgEg,14
|
33
|
+
ambivo_agents-1.0.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|