Camilla AI Arkitektur

Camilla AI

                                      CAMILLA AI

                    ┌─────────────────────┴─────────────────────┐
             Keyboard Input                                Voice Input
                    │                                           │
                                       Microphone
                    │                                           │
                                  Realtime Transcription
                    │                                           │
                    └─────────────────────┬─────────────────────┘


                                    ConsoleRunner

             ┌────────────────────────────┼────────────────────────────┐
             ▼                            ▼                            ▼
       Local Commands               User Question              Provider Selection
             │                            │                            │
             │                            │                  *OpenAI *Claude *Gemini
             │                            │                     *Grok *Qwen
             │                            │                            │
             └────────────────────────────┴──────────────┬─────────────┘


                                                   AIManager

                     ┌──────────────────────────────────┼─────────────────────────────┐
                     ▼                                  ▼                             ▼
              Standard Discussion              AutonomousEngine               Special Features
                     │                                  │                             │
                         Autonomous Questions       ┌───────────┼───────────┐
                     │                                  │                 │           │           │
                     │                                  └───────┐         ▼           ▼           ▼
                     │                                          │       Image       Excel     Code Review
                     │                                          │     Generation    Export
                     └──────────────────────┬───────────────────┘


                                    KnowledgeService

                          ┌─────────────────┴─────────────────┐
                          ▼                                   ▼
                   Local Knowledge                    Relevant History
                   TXT / PDF / DOCX                    Stored Memory
                          │                                   │
                          └─────────────────┬─────────────────┘


                                      PromptBuilder


                                    DiscussionEngine

                   ┌────────────┬───────────┼───────────┬────────────┐
                   │            │           │           │            │
                   ▼            ▼           ▼           ▼            ▼
                OpenAI        Claude      Gemini       Grok         Qwen
                   │            │           │           │            │
                   └────────────┴───────────┼───────────┴────────────┘

                              ┌─────────────┴─────────────┐
                              │                           │
                              ▼                           ▼
                     Independent Analysis             Web Search
                   Current Information

                       Cross-model Review


                       Refined Responses


                     ConversationService

                  ┌───────────┼────────────┐
                  │           │            │
                  ▼           ▼            ▼
                Console     Speech    MemoryService
                Output      Output         
                       Text-to-Speech      
                                    Encrypted Storage


                  ┌─────────────────────────────────────┐
                  │             USER CONTROL            │
                  │                                     │
                  │  Escape ──► Cancel current process  │
                  │                                     │
                  │  Cancellation propagates through    │
                  │  discussions, autonomous operation  │
                  │  and speech.                        │
                  └─────────────────────────────────────┘

← Dra för att se hela diagrammet →