ferarandrei1/filament-ai-chat-widget
FilamentAiChatPlugin::make()), but requires modifying the PanelProvider. This is a low-risk change if Filament is already in use, though it may need alignment with existing plugin strategies (e.g., feature flags, lazy loading)..env configuration. For production, consider:
retry helper or a queue system).AiKnowledgeBaseResource adds a new Filament admin interface. Integration risks include:
max_tokens in the package’s config to limit costs.OPENAI_API_KEY and OPENAI_ORGANIZATION to .env.curl.AiChatMessageCreated) for analytics or workflows.php artisan tinker to call OpenAI endpoints).composer require ferarandrei1/filament-ai-chat-widget
php artisan vendor:publish --tag="filament-ai-chat-widget-migrations"
php artisan vendor:publish --tag="filament-ai-chat-widget-config"
php artisan migrate
config/filament-ai-chat-widget.php for defaults (e.g., model, token limits)..env.app/Providers/Filament/AdminPanelProvider.php:
->plugins([FilamentAiChatPlugin::make()])
->resources([AiKnowledgeBaseResource::class])
php artisan optimize:clear
default_model setting in the config.AiChatMiddleware or override the widget’s visibility logic.AiKnowledgeBaseResource with initial entries (e.g., FAQs, guidelines).How can I help you explore Laravel packages today?