ws-bom-robot-app 0.0.54__py3-none-any.whl → 0.0.55__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.
@@ -19,8 +19,13 @@ async def get_rules(embeddings: Embeddings, rules: LlmRules, input: str | list)
19
19
  rules_doc = await VectorDbManager.get_strategy(rules.vector_type).invoke(
20
20
  embeddings,
21
21
  rules.vector_db,
22
- input,search_type="similarity_score_threshold",
23
- search_kwargs={"score_threshold": rules.threshold},
22
+ input,
23
+ search_type="similarity_score_threshold",
24
+ search_kwargs={
25
+ "score_threshold": rules.threshold,
26
+ "k": 500,
27
+ "fetch_k": 500,
28
+ },
24
29
  source = None) #type: ignore
25
30
  if len(rules_doc) > 0:
26
31
  rules_prompt = "\nFollow this rules: \n RULES: \n"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ws_bom_robot_app
3
- Version: 0.0.54
3
+ Version: 0.0.55
4
4
  Summary: A FastAPI application serving ws bom/robot/llm platform ai.
5
5
  Home-page: https://github.com/websolutespa/bom
6
6
  Author: Websolute Spa
@@ -28,7 +28,7 @@ ws_bom_robot_app/llm/tools/utils.py,sha256=LEId1UolLvJsMYbl-awm7h-gJ9Up9DrrnH6HT
28
28
  ws_bom_robot_app/llm/tools/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
29
  ws_bom_robot_app/llm/tools/models/main.py,sha256=o3Rwbn5nsugKOgLG0FUIuvtPPHYhfVpqG4E3BQB2nWM,388
30
30
  ws_bom_robot_app/llm/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
- ws_bom_robot_app/llm/utils/agent.py,sha256=DQLBVrfoM6ltDY6S7R-RxFAr2sZOaBzXV2iEHFM-YhA,1374
31
+ ws_bom_robot_app/llm/utils/agent.py,sha256=ISF9faaD5tBi-8sbgQpgfqWT1JIVcgv_lRhyaNAkI2Q,1445
32
32
  ws_bom_robot_app/llm/utils/chunker.py,sha256=N7570xBYlObneg-fsvDhPAJ-Pv8C8OaYZOBK6q7LmMI,607
33
33
  ws_bom_robot_app/llm/utils/download.py,sha256=GaRypPgkx16HfYRj-upX9kvmjfAdFFb5TP4P97scWeA,3273
34
34
  ws_bom_robot_app/llm/utils/kb.py,sha256=jja45WCbNI7SGEgqDS99nErlwB5eY8Ga7BMnhdMHZ90,1279
@@ -62,7 +62,7 @@ ws_bom_robot_app/llm/vector_store/loader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5
62
62
  ws_bom_robot_app/llm/vector_store/loader/base.py,sha256=L_ugekNuAq0N9O-24wtlHSNHkqSeD-KsJrfGt_FX9Oc,5340
63
63
  ws_bom_robot_app/llm/vector_store/loader/docling.py,sha256=yP0zgXLeFAlByaYuj-6cYariuknckrFds0dxdRcnVz8,3456
64
64
  ws_bom_robot_app/llm/vector_store/loader/json_loader.py,sha256=LDppW0ZATo4_1hh-KlsAM3TLawBvwBxva_a7k5Oz1sc,858
65
- ws_bom_robot_app-0.0.54.dist-info/METADATA,sha256=DidPblIHBDw4FcjNPAicQFWfsJlpYyL1pN46sDVkwZ8,8329
66
- ws_bom_robot_app-0.0.54.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
67
- ws_bom_robot_app-0.0.54.dist-info/top_level.txt,sha256=Yl0akyHVbynsBX_N7wx3H3ZTkcMLjYyLJs5zBMDAKcM,17
68
- ws_bom_robot_app-0.0.54.dist-info/RECORD,,
65
+ ws_bom_robot_app-0.0.55.dist-info/METADATA,sha256=hoyAKOKcnwUx3QK70KwRXKZqnLFCVj9WnxXlJhqdQts,8329
66
+ ws_bom_robot_app-0.0.55.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
67
+ ws_bom_robot_app-0.0.55.dist-info/top_level.txt,sha256=Yl0akyHVbynsBX_N7wx3H3ZTkcMLjYyLJs5zBMDAKcM,17
68
+ ws_bom_robot_app-0.0.55.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.1)
2
+ Generator: setuptools (80.7.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5