Skip to main content

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

RequirementDetails
DependenciesAICore
PHP Version8.2+
AI ProviderAt least one AI provider configured in AI Core

Installation

Enable via Admin Panel

  1. Log in as administrator
  2. Navigate to Settings > Addons
  3. 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.

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

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