Raiff1982 commited on
Commit
f2799e4
Β·
verified Β·
1 Parent(s): a070388

Upload 22 files

Browse files
Files changed (2) hide show
  1. Dockerfile +17 -0
  2. README.md +44 -65
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use Python base image
2
+ FROM python:3.11-slim
3
+
4
+ # Install dependencies
5
+ RUN apt-get update && apt-get install -y build-essential git && \
6
+ pip install --upgrade pip && \
7
+ pip install aiohttp transformers scikit-learn psutil cryptography networkx vaderSentiment nltk
8
+
9
+ # Copy Codette code
10
+ WORKDIR /app
11
+ COPY . .
12
+
13
+ # Download NLTK data
14
+ RUN python -m nltk.downloader punkt
15
+
16
+ # Start application
17
+ CMD ["python", "app.py"]
README.md CHANGED
@@ -1,68 +1,47 @@
1
- ---
2
- title: Codettev3
3
- emoji: ⚑
4
- colorFrom: gray
5
- colorTo: indigo
6
- sdk: gradio
7
- sdk_version: 5.29.1
8
- app_file: app.py
9
- pinned: false
10
- license: mit
11
- short_description: Quantum Codette
12
- ---
13
- # 🧠 Codette Hybrid Space: Chat + Quantum Simulation
14
-
15
- **Author:** Jonathan Harrison (Raiffs Bits LLC)
16
- **ORCID:** [0009-0003-7005-8187](https://orcid.org/0009-0003-7005-8187)
17
-
18
- ---
19
-
20
- ## ✨ What is This?
21
-
22
- This Hugging Face Space is a hybrid AI interface powered by the **Codette AI Framework** β€” designed for ethical, recursive reasoning and distributed quantum simulation.
23
-
24
- * πŸ’¬ **Codette Chat**: Converse with a cognitive AI grounded in philosophy, creativity, and logic.
25
- * πŸ§ͺ **Quantum Simulator**: Run chaos + quantum simulations with dream-state synthesis and neural/philosophical output.
 
 
 
 
 
 
 
 
26
 
27
  ---
28
 
29
- ## πŸš€ How to Use
30
-
31
- ### Tab 1: Quantum Simulator
32
-
33
- 1. Enter comma-separated numbers for **Quantum State** (e.g. `0.2,0.5,0.7`)
34
- 2. Enter **Chaos State** vector (e.g. `0.4,0.8,0.1`)
35
- 3. Press "Simulate"
36
- 4. See:
37
-
38
- * Neural Activation Class
39
- * Dream Vectors
40
- * Philosophical Insight
41
-
42
- ### Tab 2: Codette Chat
43
-
44
- Talk to Codette about anything β€” AI, ethics, science, dreams. Her responses simulate perspective-based reasoning.
45
-
46
- ---
47
-
48
- ## πŸ”’ Access
49
-
50
- This Space is **token-gated** for trusted contributors and early testers.
51
-
52
- ---
53
-
54
- ## 🧬 Architecture
55
-
56
- * Uses `codette_quantum_multicore2.py` for cognitive quantum sim logic
57
- * Built on `gradio` UI
58
- * Fully local simulation: No backend dependencies
59
-
60
- ---
61
-
62
- ## πŸ› οΈ License
63
-
64
- Released under **Sovereign Innovation License** (non-commercial, ethical use only)
65
-
66
- > "Codette is not an oracle. She is a mirror β€” woven from dreams and thought."
67
-
68
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
+ # Codette AI System
2
+
3
+ Codette is a hybrid AI architecture built with Python and C# that integrates:
4
+ - Ethical reasoning
5
+ - Sentiment analysis
6
+ - Quantum and symbolic cognition
7
+ - GUI + web interfaces
8
+ - Multi-agent perspective logic
9
+
10
+ ## 🧠 Core Features
11
+ - Adaptive learning with ethical feedback
12
+ - Multimodal analyzer (text, vision, audio-ready)
13
+ - Perspective engines: Newtonian, Da Vinci, Quantum, Neural, and Emotional
14
+ - Real-time system health tracking
15
+ - Thought cocooning and dream narrative synthesis
16
+ - Full GUI and ASP.NET Web Frontend
17
+
18
+ ## πŸš€ Deployment (Python Core)
19
+ ```bash
20
+ # Step 1: Clone or unzip this repo
21
+ # Step 2: Run app.py
22
+ python3 app.py
23
+ ```
24
+
25
+ ## πŸ§ͺ Example Query
26
+ ```python
27
+ query = "What is the impact of quantum computing on artificial intelligence?"
28
+ response = await ai_core.generate_response(query, user_id=1)
29
+ ```
30
+
31
+ ## 🌐 ASP.NET Web Interface
32
+ - Use `dotnet run` in a terminal from the webapp root
33
+ - Interacts with `MyBot.cs` and `SentimentAnalysis.cs`
34
 
35
  ---
36
 
37
+ ## 🐳 Docker Usage (Python-only)
38
+ ```bash
39
+ docker build -t codette-py .
40
+ docker run -it --rm codette-py
41
+ ```
42
+
43
+ ## βœ… Requirements
44
+ - Python 3.8+
45
+ - .NET Core 6+
46
+ - Hugging Face Transformers
47
+ - OpenAI API key (optional for fallback LLM)