Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nova): Implement three-layer cognitive architecture with Ollama LLM
Implement a three-layer cognitive architecture (NOVA) using Ollama LLM integration: - Add Reactive Layer (≤10 words responses) * Fast, instinctive responses with temperature 0.3 * Strict word limit and imperative form * Limited response length (num_predict: 50) - Add Responsive Layer (context-aware) * Maintains context history of last 5 messages * Balanced temperature (0.7) * Medium-length responses (num_predict: 100) - Add Reflective Layer (pattern analysis) * Deep thinking with pattern recognition * Higher temperature (0.7) for creative insights * Maintains history of learned patterns Features: - Parallel processing using asyncio - Clear terminal output with emojis and formatting - Configurable model selection via MODEL_NAME constant - Error handling and resource cleanup - Kafka integration for message distribution Example demonstrates anxiety management scenario through different cognitive processing depths.
- Loading branch information