parishad 0.1.1__py3-none-any.whl → 0.1.3__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.
parishad/__init__.py CHANGED
@@ -5,7 +5,7 @@ Parishad orchestrates multiple local language models into a structured "council"
5
5
  that achieves higher reliability than a single model under strict compute budgets.
6
6
  """
7
7
 
8
- __version__ = "0.1.1"
8
+ __version__ = "0.1.3"
9
9
 
10
10
  from .orchestrator.engine import Parishad, ParishadEngine, PipelineConfig
11
11
  from .models.runner import ModelRunner, ModelConfig
@@ -3,7 +3,7 @@
3
3
  # Uses 2 model slots: mid + big
4
4
 
5
5
  name: "parishad-core"
6
- version: "0.1.1"
6
+ version: "0.1.3"
7
7
  description: "Balanced 8-role pipeline: Madhya Sabha with extended council"
8
8
 
9
9
  # Role definitions
@@ -3,7 +3,7 @@
3
3
  # Uses 3 model slots: small + mid + big
4
4
 
5
5
  name: "parishad-extended"
6
- version: "0.1.1"
6
+ version: "0.1.3"
7
7
  description: "Maha Sabha: Full 10-role council including Lateral Thinker (Vidushak)"
8
8
 
9
9
  # Role definitions
@@ -3,7 +3,7 @@
3
3
  # Laghu Sabha matches standard structure but uses smaller/faster models
4
4
 
5
5
  name: "parishad-fast"
6
- version: "0.1.1"
6
+ version: "0.1.3"
7
7
  description: "Fast 5-role pipeline: Analyze -> Plan -> Execute -> Check -> Judge"
8
8
 
9
9
  # Role definitions
parishad/data/models.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.1",
2
+ "version": "0.1.3",
3
3
  "updated": "2024-12-30",
4
4
  "sources": {
5
5
  "ollama": {
@@ -21,7 +21,7 @@ class RoleSpec:
21
21
  name: str
22
22
  class_name: str
23
23
  slot: str
24
- version: str = "0.1.1"
24
+ version: str = "0.1.3"
25
25
  budget_tokens: int = 1000
26
26
  dependencies: list[str] = field(default_factory=list)
27
27
  max_tokens: Optional[int] = None
@@ -19,8 +19,9 @@ class PerceptionTool(BaseTool):
19
19
  name = "perception"
20
20
  description = "Convert files (PDF, Docx, Images, Audio) into text. Use for reading docs or seeing images."
21
21
 
22
- def __init__(self):
22
+ def __init__(self, llm_config: Optional[Dict[str, Any]] = None):
23
23
  super().__init__()
24
+ self.llm_config = llm_config
24
25
  self._markitdown = None
25
26
 
26
27
  def _get_markitdown(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: parishad
3
- Version: 0.1.1
3
+ Version: 0.1.3
4
4
  Summary: A cost-aware, local-first council of heterogeneous LLMs for reliable reasoning, coding, and factual correctness
5
5
  Project-URL: Homepage, https://github.com/parishad-council/parishad
6
6
  Project-URL: Documentation, https://github.com/parishad-council/parishad#readme
@@ -23,6 +23,7 @@ Requires-Python: >=3.10
23
23
  Requires-Dist: click>=8.0.0
24
24
  Requires-Dist: httpx>=0.25.0
25
25
  Requires-Dist: jsonschema>=4.0.0
26
+ Requires-Dist: llama-cpp-python>=0.2.0
26
27
  Requires-Dist: numpy<2.0
27
28
  Requires-Dist: openai>=1.0.0
28
29
  Requires-Dist: psutil>=5.9.0
@@ -38,7 +39,6 @@ Requires-Dist: black>=23.0.0; extra == 'all'
38
39
  Requires-Dist: chromadb>=0.5.0; extra == 'all'
39
40
  Requires-Dist: datasets>=2.14.0; extra == 'all'
40
41
  Requires-Dist: faiss-cpu>=1.7.0; extra == 'all'
41
- Requires-Dist: llama-cpp-python>=0.2.0; extra == 'all'
42
42
  Requires-Dist: mypy>=1.0.0; extra == 'all'
43
43
  Requires-Dist: pandas>=2.0.0; extra == 'all'
44
44
  Requires-Dist: pre-commit>=3.0.0; extra == 'all'
@@ -71,7 +71,6 @@ Requires-Dist: grpcio-tools>=1.50.0; extra == 'distributed'
71
71
  Requires-Dist: grpcio>=1.50.0; extra == 'distributed'
72
72
  Provides-Extra: local
73
73
  Requires-Dist: accelerate>=0.25.0; extra == 'local'
74
- Requires-Dist: llama-cpp-python>=0.2.0; extra == 'local'
75
74
  Requires-Dist: torch>=2.0.0; extra == 'local'
76
75
  Requires-Dist: transformers>=4.35.0; extra == 'local'
77
76
  Provides-Extra: mlx
@@ -1,4 +1,4 @@
1
- parishad/__init__.py,sha256=mAD0eX7fOiVFJpoXzNee-gQ9i1TvaoJ0ZURo1cRZ6K8,1199
1
+ parishad/__init__.py,sha256=uu-wd2GMxBQfqNpDW4aqnibYeHXvDrcu0XftGrwO2Pk,1199
2
2
  parishad/__main__.py,sha256=0qrXs91zon0xM17c5HTrkiSBZwiRfMJV2jOo0qP7MJ8,146
3
3
  parishad/checker/__init__.py,sha256=m-Vl5emTwJWumsIbLY7g5pslU9m1uTcJNAxnGJPbkJU,540
4
4
  parishad/checker/deterministic.py,sha256=reXH8aew_pBGn85MRMQcHRzi6fWU_JaGniimYUqsly0,20477
@@ -10,12 +10,12 @@ parishad/cli/main.py,sha256=vmCV1O1u5fqWmMIjjzECeMOgUayGoI8n_oCaRgmf_Nw,38267
10
10
  parishad/cli/prarambh.py,sha256=4vvRzJHWC6ECPdL4IKv5laZDy4v3ZYDq4vjqu3Hll30,4296
11
11
  parishad/cli/sthapana.py,sha256=Sxk-TA-WCKW2CSPBQPhhEgaON60HKVDUaMorFjc-BNQ,13534
12
12
  parishad/config/modes.py,sha256=eh4B5ZUUPN6HqYAj5hLudTqkyxBHKhIsx_Q_BvSduGk,4066
13
- parishad/config/pipeline.core.yaml,sha256=TGV2hv9io3F6cN6s-DuuXUvVnMQ-Aim28scV-Z_TUy4,2960
14
- parishad/config/pipeline.extended.yaml,sha256=tQMjdm9qZY3dyvMJIdq3WfLfVnm36B0tHUL9y6nYJJo,4187
15
- parishad/config/pipeline.fast.yaml,sha256=VPx9ggRLfOQ4H-FbHKCdkokGv1hzWcfQHoiCrEB6Lqc,2050
13
+ parishad/config/pipeline.core.yaml,sha256=osGfA15jjAcqnni2kxkyKsgesRpfBMcec5fojwkm2XQ,2960
14
+ parishad/config/pipeline.extended.yaml,sha256=ZHppfCls-4lmUAB2t0_pMD6EhOabU6K6F-WyujBtIEg,4187
15
+ parishad/config/pipeline.fast.yaml,sha256=-LL08zFHcSw_R4rh0lJyPqYnE4WAuTYMLBXplHNt3hc,2050
16
16
  parishad/config/user_config.py,sha256=aKgiILWKDc3_OYaZz-u9a4Pm1PP1EULeX-q6KqMbcho,3165
17
17
  parishad/data/catalog.py,sha256=hnhyHlAuETzXf1hlP_snXYhjq2nZG9Ab2OGXeMyYlDY,4623
18
- parishad/data/models.json,sha256=iib9OMLjUOkt0a6XkEdSq6wPYv_hxN4dRmXrD7-SBjU,19388
18
+ parishad/data/models.json,sha256=NkhDKzI0Z4TPQblfnoRc85f4CFOW9NWyAnhM7qSBY3I,19388
19
19
  parishad/memory/__init__.py,sha256=AJEa0RNcqjep_3mkYniuhK-ZUj1mshCk0rPTrCQrxhY,2687
20
20
  parishad/models/__init__.py,sha256=v0CqeJ69qwkUw4nC63VH6QOx4v8Mce1_akb-1VvzTa4,3682
21
21
  parishad/models/costs.py,sha256=2ngHV1HsDkuUsTK8QCJGqXlJUWOlVVgoO72K8oJ0ZrA,11393
@@ -34,7 +34,7 @@ parishad/models/backends/ollama.py,sha256=nyk7rxDXn6Cw03S6Z9Cm3SxaZp09m-1qf6JE1T
34
34
  parishad/models/backends/openai_api.py,sha256=9CmBvhQEcPX0R1RtQnHWVcTdH9wMT6Pu1acF2vy8C2o,6041
35
35
  parishad/models/backends/transformers_hf.py,sha256=z-nw18yY62BorAawrand59GgD_0dmnYqibQGcP6sadQ,6619
36
36
  parishad/orchestrator/__init__.py,sha256=a52VEdW_98XwD3FseRu_9_sKagFs6z5PtXS_o4j2fbs,413
37
- parishad/orchestrator/config_loader.py,sha256=FebKOCQNYqnaGSEEypxXp64zpqD73f3A7OsO8kvl2vM,6975
37
+ parishad/orchestrator/config_loader.py,sha256=XN5OGq_5J_PmNMmk2CCmom5XK9EUSJKqmlG0VJoClfc,6975
38
38
  parishad/orchestrator/engine.py,sha256=WAKcHqG20tRqt-Hg62iR-TOswmgc0Y0OclSuSlZe0lA,45644
39
39
  parishad/orchestrator/exceptions.py,sha256=jLNkoKvhuKny2upGv04L7Dj4SAi0umVRC0RAukX5BBM,391
40
40
  parishad/roles/__init__.py,sha256=OF8Zb-yNP9nX0gS9gnYkt0QoG_KyHYwtw_OiWplFnxc,1171
@@ -52,7 +52,7 @@ parishad/roles/vidushak.py,sha256=f6lmtZrIbAO97RMG2NQYSm14JbqguBA7ukOT-n6i0cM,20
52
52
  parishad/tools/__init__.py,sha256=Ni_RlR4AnOFIBivbM-sfpRdZI0Tpu9MXkbs3n4Ngx8I,279
53
53
  parishad/tools/base.py,sha256=3uwWdSj1RRvbGCJpdBMHQ0LJx8fnE-d8uHQmDzkyqWk,1676
54
54
  parishad/tools/fs.py,sha256=7OiCm2KNnq6hnZCMoMEbompA_TUYCbu1kg-8ZgwhXZ0,4427
55
- parishad/tools/perception.py,sha256=Q0snYwzWCZbSqi8qcnDhxoZGx-n74cYRCJyS2ajt4wQ,3089
55
+ parishad/tools/perception.py,sha256=D0xc_Q7oLopTYhR58kkjM7RlCzC0mDH0FCGbhu-yIGg,3171
56
56
  parishad/tools/retrieval.py,sha256=WGoji7n5pKgww3iBNN68UelSCOePxLIf33hQXu3RGlA,2472
57
57
  parishad/tools/shell.py,sha256=RFESJun8TmaB97yaWl9LpsTrr-flR0EoqTs1wast7Xc,3258
58
58
  parishad/utils/__init__.py,sha256=vRipAnXqboRXUMY2RvUuYVemwKxUDxgovjyyazvTYbo,218
@@ -61,8 +61,8 @@ parishad/utils/logging.py,sha256=TT16YB6cOhBPyo9a6dZRww3SjStrZKihdtq9hwqBXJo,214
61
61
  parishad/utils/scanner.py,sha256=8wxaNgH3i_T4AdyBuLr9L4KcQ_AORguA6xvnOIyem8k,5841
62
62
  parishad/utils/text.py,sha256=S_3Ox4T3C87XfyXdR2b3JMatpCiOozaqPUbVic7OIFM,1617
63
63
  parishad/utils/tracing.py,sha256=x35BmMO9M83dVCy73kYqkOFE4zKMrUFe_RuV8qIWJaM,4304
64
- parishad-0.1.1.dist-info/METADATA,sha256=gXlDTp68yn0wnB8xY41aKL13gPe-i-lxWgi-pGP_3yE,11081
65
- parishad-0.1.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
66
- parishad-0.1.1.dist-info/entry_points.txt,sha256=cCF4Bg5sLxlLMJhnOnWNua3XYzAGlL5ri-55y0fWPek,51
67
- parishad-0.1.1.dist-info/licenses/LICENSE,sha256=Xow-fDHX9pzrvBkPHImvQa-Uc1g6BDbz9IE4jPfB6D0,1073
68
- parishad-0.1.1.dist-info/RECORD,,
64
+ parishad-0.1.3.dist-info/METADATA,sha256=v9_c3uvs1pWvAegIhLaKduF-QRE00_-E5quuxffclRQ,11008
65
+ parishad-0.1.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
66
+ parishad-0.1.3.dist-info/entry_points.txt,sha256=cCF4Bg5sLxlLMJhnOnWNua3XYzAGlL5ri-55y0fWPek,51
67
+ parishad-0.1.3.dist-info/licenses/LICENSE,sha256=Xow-fDHX9pzrvBkPHImvQa-Uc1g6BDbz9IE4jPfB6D0,1073
68
+ parishad-0.1.3.dist-info/RECORD,,