# AI Integration Documentation This directory contains comprehensive documentation for Trilium's AI/LLM integration features. The documentation covers setup, configuration, usage, and best practices for leveraging AI capabilities within Trilium Notes. ## Documentation Structure 1. **[Overview](01-overview.md)** - Introduction to AI features and capabilities 2. **[Setup and Configuration](02-setup-configuration.md)** - Detailed setup instructions for each provider 3. **[Features and Usage](03-features-usage.md)** - How to use AI features in Trilium 4. **[Advanced Configuration](04-advanced-configuration.md)** - Fine-tuning and customization options 5. **[Troubleshooting](05-troubleshooting.md)** - Common issues and solutions 6. **[Security and Privacy](06-security-privacy.md)** - Security considerations and privacy guidelines ## Quick Start To get started with AI features in Trilium: 1. Navigate to **Options → AI/LLM** in the settings 2. Enable AI features 3. Configure your preferred AI provider (OpenAI, Anthropic, or Ollama) 4. Start using AI features through the "Chat with Notes" button ## Supported Providers - **OpenAI** - GPT-4, GPT-3.5-turbo and other OpenAI models - **Anthropic** - Claude 3 family of models - **Ollama** - Local AI models running on your machine ## Key Features - **Intelligent Note Search** - Semantic search using embeddings - **Chat with Notes** - Interactive AI assistant with access to your notes - **Tool Calling** - AI can perform actions like creating, updating, and searching notes - **Content Generation** - AI-powered content creation and enhancement - **Privacy Controls** - Exclude sensitive notes from AI processing For detailed information, please refer to the individual documentation sections.