dialectical-framework 0.7.5__tar.gz → 0.7.6__tar.gz
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.
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/PKG-INFO +4 -3
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/pyproject.toml +4 -4
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/protocols/polarity_extractor.py +5 -1
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/concepts/polarity_extractor_basic.py +4 -2
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/LICENSE +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/README.md +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/ai_dto/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/ai_dto/action_plan_dto.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/ai_dto/causal_cycle_assessment_dto.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/ai_dto/causal_cycle_dto.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/ai_dto/causal_cycles_deck_dto.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/ai_dto/constructive_convergence_transition_audit_dto.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/ai_dto/dialectical_component_dto.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/ai_dto/dialectical_components_deck_dto.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/ai_dto/dto_mapper.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/ai_dto/reciprocal_solution_dto.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/ai_dto/transition_summary_dto.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/consultant.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/decorator_action_reflection.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/decorator_discrete_spiral.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/decorator_discrete_spiral_audited.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/domain/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/domain/assessable_cycle.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/domain/cycle.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/domain/interpretation.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/domain/rationale.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/domain/spiral.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/domain/transformation.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/domain/transition.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/domain/transition_cell_to_cell.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/domain/transition_segment_to_segment.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/strategic_consultant.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/think_action_reflection.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/think_constructive_convergence.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/think_constructive_convergence_auditor.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/analyst/wheel_builder_transition_calculator.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/brain.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/dialectical_reasoning.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/enums/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/enums/causality_type.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/enums/di.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/enums/dialectical_reasoning_mode.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/enums/predicate.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/protocols/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/protocols/assessable.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/protocols/causality_sequencer.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/protocols/content_fidelity_evaluator.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/protocols/has_brain.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/protocols/has_config.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/protocols/ratable.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/protocols/reloadable.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/protocols/thesis_extractor.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/settings.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/causality/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/causality/causality_sequencer_balanced.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/causality/causality_sequencer_desirable.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/causality/causality_sequencer_feasible.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/causality/causality_sequencer_realistic.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/concepts/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/concepts/thesis_extractor_basic.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/domain/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/domain/dialectical_analysis.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/domain/dialectical_component.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/domain/dialectical_components_deck.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/domain/directed_graph.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/domain/synthesis.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/domain/wheel.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/domain/wheel_segment.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/domain/wisdom_unit.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/polarity/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/polarity/polarity_reasoner.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/polarity/reason_fast.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/polarity/reason_fast_and_simple.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/polarity/reason_fast_polarized_conflict.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/reverse_engineer.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/synthesist/wheel_builder.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/utils/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/utils/dc_replace.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/utils/decompose_probability_uniformly.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/utils/dw_report.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/utils/extend_tpl.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/utils/gm.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/utils/is_async.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/utils/pm.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/utils/use_brain.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/validator/__init__.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/validator/basic_checks.py +0 -0
- {dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/validator/check.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: dialectical-framework
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.6
|
|
4
4
|
Summary: A dialectical framework for augmented intelligence. AI reasoning powered with dialectics supports humans in: system optimization (psychology, engineering, business, politics, etc.); dispute resolution (mediation, conflicts, negotiations, etc.); decision-making (dilemmas, challenging situations, win-win, etc.).
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: dialectics,dialectical-reasoning,synthesis,thesis-antithesis,ai,artificial-intelligence,llm,reasoning-framework,philosophy,logic,argumentation,conflict-resolution,decision-making,critical-thinking,semantic-graph,mirascope,pydantic,wisdom-units,polarity-reasoning
|
|
@@ -28,8 +28,9 @@ Classifier: Topic :: Sociology
|
|
|
28
28
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
29
|
Classifier: Topic :: Text Processing :: Linguistic
|
|
30
30
|
Requires-Dist: dependency-injector (>=4.48.2,<5.0.0)
|
|
31
|
-
Requires-Dist:
|
|
32
|
-
Requires-Dist:
|
|
31
|
+
Requires-Dist: litellm (>=1.79.3,<2.0.0)
|
|
32
|
+
Requires-Dist: mirascope[anthropic,azure,bedrock,langfuse,openai,tenacity] (>=1.25.7,<2.0.0)
|
|
33
|
+
Requires-Dist: python-dotenv (>=1.2.1,<2.0.0)
|
|
33
34
|
Requires-Dist: tabulate (>=0.9.0,<0.10.0)
|
|
34
35
|
Project-URL: Homepage, https://github.com/dialexity/dialectical-framework
|
|
35
36
|
Project-URL: Repository, https://github.com/dialexity/dialectical-framework
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "dialectical-framework"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.6"
|
|
4
4
|
description = "A dialectical framework for augmented intelligence. AI reasoning powered with dialectics supports humans in: system optimization (psychology, engineering, business, politics, etc.); dispute resolution (mediation, conflicts, negotiations, etc.); decision-making (dilemmas, challenging situations, win-win, etc.)."
|
|
5
5
|
authors = ["Evaldas Taroza <evaldas@dialexity.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -48,14 +48,14 @@ mirascope = {extras = [
|
|
|
48
48
|
"azure",
|
|
49
49
|
"openai",
|
|
50
50
|
"anthropic",
|
|
51
|
-
"litellm",
|
|
52
51
|
"bedrock",
|
|
53
52
|
"langfuse",
|
|
54
53
|
"tenacity"
|
|
55
|
-
], version = "^1.25.
|
|
56
|
-
python-dotenv = "^1.
|
|
54
|
+
], version = "^1.25.7"}
|
|
55
|
+
python-dotenv = "^1.2.1"
|
|
57
56
|
tabulate = "^0.9.0"
|
|
58
57
|
dependency-injector = "^4.48.2"
|
|
58
|
+
litellm = "^1.79.3"
|
|
59
59
|
|
|
60
60
|
[tool.poetry.group.dev.dependencies]
|
|
61
61
|
pytest = "^8.4.1"
|
|
@@ -12,7 +12,8 @@ class PolarityExtractor(ThesisExtractor):
|
|
|
12
12
|
self,
|
|
13
13
|
*,
|
|
14
14
|
given: Union[str, list[str | None], list[tuple[str | None, str | None]]] = None,
|
|
15
|
-
at: None | int | list[int] = None
|
|
15
|
+
at: None | int | list[int] = None,
|
|
16
|
+
not_like_these: list[str] | None = None
|
|
16
17
|
) -> list[tuple[DialecticalComponent, DialecticalComponent]]:
|
|
17
18
|
"""
|
|
18
19
|
Extract polarities (thesis-antithesis pairs) with optional selective generation.
|
|
@@ -63,6 +64,9 @@ class PolarityExtractor(ThesisExtractor):
|
|
|
63
64
|
**Complete tuples:** If an index in `at` has both thesis and antithesis
|
|
64
65
|
already provided, no generation occurs—the tuple is simply preserved.
|
|
65
66
|
|
|
67
|
+
not_like_these: list[str] | None, optional
|
|
68
|
+
Some statements to hint that we don't need to generate them.
|
|
69
|
+
|
|
66
70
|
Returns
|
|
67
71
|
-------
|
|
68
72
|
list[tuple[DialecticalComponent, DialecticalComponent]]
|
|
@@ -109,7 +109,8 @@ class PolarityExtractorBasic(ThesisExtractorBasic, PolarityExtractor):
|
|
|
109
109
|
self,
|
|
110
110
|
*,
|
|
111
111
|
given: Union[str, list[str | None], list[tuple[str | None, str | None]]] = None,
|
|
112
|
-
at: None | int | list[int] = None
|
|
112
|
+
at: None | int | list[int] = None,
|
|
113
|
+
not_like_these: list[str] | None = None
|
|
113
114
|
) -> list[tuple[DialecticalComponent, DialecticalComponent]]:
|
|
114
115
|
"""
|
|
115
116
|
Implementation Notes
|
|
@@ -164,7 +165,8 @@ class PolarityExtractorBasic(ThesisExtractorBasic, PolarityExtractor):
|
|
|
164
165
|
)
|
|
165
166
|
|
|
166
167
|
# Collect all provided statements to avoid duplicates
|
|
167
|
-
not_like_these
|
|
168
|
+
if not_like_these is None:
|
|
169
|
+
not_like_these = []
|
|
168
170
|
for thesis, antithesis in given:
|
|
169
171
|
if thesis:
|
|
170
172
|
not_like_these.append(thesis)
|
|
File without changes
|
|
File without changes
|
{dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/brain.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/enums/di.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/settings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/utils/gm.py
RENAMED
|
File without changes
|
|
File without changes
|
{dialectical_framework-0.7.5 → dialectical_framework-0.7.6}/src/dialectical_framework/utils/pm.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|