CF14 Semantic Calculator - Fixed canonical algorithm for structured problem-solving
Project description
Chirality Framework: A Semantic Calculator
Version: 15.0.0 | Status: Refactored to Canonical Algorithm
The Chirality Framework is a direct, simple, and observable implementation of a fixed, canonical algorithm for structured problem-solving. It is not a general-purpose framework but a "semantic calculator" designed to execute a specific sequence of semantic transformations.
The value of this project is in the unique, insightful output of the calculation, not in the flexibility of the code.
Core Concept: The Three-Stage Interpretation Pipeline
The heart of the Chirality Framework is a three-stage process that generates deep meaning from fixed inputs:
- Stage 1 (Combinatorial): Mechanical combination of terms.
- Stage 2 (Semantic Resolution): An LLM resolves the raw terms into meaningful concepts.
- Stage 3 (Ontological Lensing): The LLM interprets these concepts through the contextual lens of the framework's ontological axes.
For a complete technical description of this process, see the Canonical Algorithm Documentation.
Quick Start: Using the CLI
The primary way to interact with the calculator is via the command-line interface. The most common command is compute-cell, which allows you to observe the 3-stage pipeline for any cell in a matrix.
Prerequisites
- Python 3.8+
- An OpenAI API key set as the
OPENAI_API_KEYenvironment variable.
Examples: Computing cells through the 3-stage pipeline
# Navigate to the project root
cd /path/to/chirality-framework
# Compute cell C[0,0] with verbose output (shows all 3 stages)
python3 -m chirality.cli compute-cell C --i 0 --j 0 --verbose
# Compute with OpenAI resolver (requires API key)
python3 -m chirality.cli compute-cell C --i 0 --j 0 --resolver openai --verbose
# Compute different matrix types
python3 -m chirality.cli compute-cell F --i 1 --j 2 --verbose
python3 -m chirality.cli compute-cell D --i 2 --j 1 --problem "creating value"
# Enable tracing for full observability
python3 -m chirality.cli compute-cell C --i 0 --j 0 --trace --verbose
# Get help and information
python3 -m chirality.cli --help
python3 -m chirality.cli info
This will display the output of all three stages for the specified cell.
Development
To set up the development environment and run tests, please refer to the instructions in CONTRIBUTING.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chirality_framework-15.0.0.tar.gz.
File metadata
- Download URL: chirality_framework-15.0.0.tar.gz
- Upload date:
- Size: 33.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30a218820e13401bdd095d5702479aec0527908dd44d5fca9302ba2b727d0e85
|
|
| MD5 |
33f4c3c80d23d6407a232cceb1e4b6ff
|
|
| BLAKE2b-256 |
b328e7dfcf90bd6dffec550a7f8f83445258a551644e2df9fb3c4d30b46a6cf6
|
File details
Details for the file chirality_framework-15.0.0-py3-none-any.whl.
File metadata
- Download URL: chirality_framework-15.0.0-py3-none-any.whl
- Upload date:
- Size: 37.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ffd8139f312e1ec84351398e1b851fa80f0a1b43d4c9f637ff0f9ea27b280aa
|
|
| MD5 |
68e11479f13a15c0f8835968ac34e079
|
|
| BLAKE2b-256 |
42b2f4066e8870a1d345ba6f157c49bbc0df5129692262645d2a91cf23af3d34
|