adam-community 1.0.11__py3-none-any.whl → 1.0.12__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.
@@ -1 +1 @@
1
- __version__ = "1.0.11"
1
+ __version__ = "1.0.12"
adam_community/util.py CHANGED
@@ -184,9 +184,6 @@ def knowledgeSearch(query_info, messages_prev, project_name, collection_name, ma
184
184
  if not collection_name:
185
185
  raise ValueError("collection_name 参数是必需的")
186
186
 
187
- if collection_name not in collections:
188
- raise ValueError(f"知识库名称必须是下面之一:{collections}")
189
-
190
187
  try:
191
188
  # 使用本地RAG实现
192
189
  rag = RAG()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: adam_community
3
- Version: 1.0.11
3
+ Version: 1.0.12
4
4
  Summary: Adam Community Tools and Utilities
5
5
  Home-page: https://github.com/yourusername/adam-community
6
6
  Author: Adam Community
@@ -1,7 +1,7 @@
1
1
  adam_community/__init__.py,sha256=vAmF9VQR6D4peppH0hnrHDmZK5cFeFPh11GIsTKUXhE,429
2
- adam_community/__version__.py,sha256=wygrEW3brUgbks4JvwNjcujOADEl2PWkdIF9d8vyM3c,23
2
+ adam_community/__version__.py,sha256=bQ8TKIXU3qSGr-K-gVtWDgjDfBlCgBju76OGKtY9tS8,23
3
3
  adam_community/tool.py,sha256=CCzWosxtuZ0yk7mupmnlgMpO59jr1hl-a_brSGIqhDI,4867
4
- adam_community/util.py,sha256=fkZn0HMM7Hk2e_UnF8rARvp1vvHMcnKRi1L0wHEFgGo,11177
4
+ adam_community/util.py,sha256=CAyMS-UNFjDcdSRWNCIOseAvprP0GEpfJzhO3l5VY1U,11051
5
5
  adam_community/cli/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
6
  adam_community/cli/build.py,sha256=uPS_UUMLAAWQJlMfQ0S6Ed6UIeZ_1eeXfViPmvzvD_E,11214
7
7
  adam_community/cli/cli.py,sha256=L_V09KMWuasgdce6zrB2yNOpCl8G7k7C_oKWvLEzS5k,2810
@@ -19,8 +19,8 @@ adam_community/cli/templates/input.json.j2,sha256=LRkIhPln3BnmPRrFebsjUa5t9vcED_
19
19
  adam_community/cli/templates/kit_python.py.j2,sha256=fVQ8EVDMaxPCv9CzYjjoV8NLJMmtVCx5tFaM9eO7f8M,2788
20
20
  adam_community/cli/templates/long_description.md.j2,sha256=Rj6hcuNzEL0Sp17GQVCRJyNytxO22KcKFvEnZlGpevE,1385
21
21
  adam_community/cli/templates/toolbox_python.py.j2,sha256=EOnmsJUvQRrcO7K7c88kI42gMmcM0Z4ab46qwOJXbH8,4192
22
- adam_community-1.0.11.dist-info/METADATA,sha256=JBt68RKXzO9ZgjWiBtVa_cU6v7V0c7EkkytnGg4RtUs,2172
23
- adam_community-1.0.11.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
24
- adam_community-1.0.11.dist-info/entry_points.txt,sha256=4I7yRkn7cHwPY8-fWQLeAvKjc24zUy8Z65VsZNs0Wos,56
25
- adam_community-1.0.11.dist-info/top_level.txt,sha256=MS8jbePXKZChih9kGizNVX0I1MFZFGWBMCIW_r86qhU,15
26
- adam_community-1.0.11.dist-info/RECORD,,
22
+ adam_community-1.0.12.dist-info/METADATA,sha256=zdovyQ12Tqjmmf4uB-u8sQPMuCzgElw1y3BpSlxz1TM,2172
23
+ adam_community-1.0.12.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
24
+ adam_community-1.0.12.dist-info/entry_points.txt,sha256=4I7yRkn7cHwPY8-fWQLeAvKjc24zUy8Z65VsZNs0Wos,56
25
+ adam_community-1.0.12.dist-info/top_level.txt,sha256=MS8jbePXKZChih9kGizNVX0I1MFZFGWBMCIW_r86qhU,15
26
+ adam_community-1.0.12.dist-info/RECORD,,