# AI

## FILES
- **client** `AI Service Clients`
    - client.go `Client Interface`
    - ollama.go `Ollama HTTP Client`
- **detector** `Speaker Detection Logic`
    - context.go `Context tracking for conversations`
    - patterns.go `Rule-based Fallback Detection`
    - speaker.go `Main Speaker Detection`
- **models** `Model Management`
    - config.go `Model Configurations`
    - manager.go `Model Downloading/Switching`
    - registry.go `Available Models Registry`
- **prompts** `Prompt Templates`
    - speaker_detection.go `Prompts for Speaker Identification`
    - templates.go `Prompt Template Utilities`

