AI Chat
AI chat enables you to interact with an AI bot that can answer questions, provide information, and assist with various tasks.
Features
- AI Chatbot - Interactive AI assistant for general questions and tasks
- Chat Sessions - Create, manage, and organize multiple chat conversations
- Chat History - View and continue previous conversations
- Message Pinning - Pin important messages within a conversation
- Chat Archive - Archive old conversations for future reference
- Chat Export - Export conversation history
- Search - Search across all chat conversations and messages
- Statistics - View chat usage statistics
Requirements
| Requirement | Details |
|---|---|
| Dependencies | AICore |
| PHP Version | 8.2+ |
| AI Provider | At least one AI provider configured in AI Core |
Installation
Enable via Admin Panel
- Log in as administrator
- Navigate to Settings > Addons
- Find AI Chat and click Enable
Enable via Command Line
php artisan module:enable AiChat
php artisan migrate
note
AI Core must be installed and enabled with at least one AI provider configured before enabling this module.
Navigation
Access AI Chat from the sidebar: AI Hub > AI Chat
The AI Hub menu has a "Beta" badge and the AI Chat link navigates to /aiChat.
Usage
Chat Interface
The chat interface provides:
- New Chat - Create a new conversation session
- Send Message - Send messages and receive AI responses
- Chat History - Load previous messages in a session
- Pin Messages - Pin important messages for quick reference
- Archive Chat - Archive conversations you want to keep but hide from active view
- Clear Chat - Clear messages within a conversation
- Export Chat - Export a conversation's messages
- Delete Chat - Permanently remove a conversation
Search
Use the search feature to find specific messages or conversations across all your chat history.
AI Operations
The module also provides direct API-style operations through its internal routes:
- Chat - Conversational AI interaction
- Complete - Text completion requests
- Summarize - Content summarization
- Extract - Data extraction from text
- Usage - View your AI usage statistics
Notes
- Conversation history is saved and can be continued later
- AI responses are based on the configured AI provider and model in AI Core
- All chat interactions are logged for audit purposes
- Supports multiple concurrent conversations per user
Changelog: View version history