Download the PHP package asyntai/filament-ai-chatbot without Composer
On this page you can find all versions of the php package asyntai/filament-ai-chatbot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download asyntai/filament-ai-chatbot
More information about asyntai/filament-ai-chatbot
Files in asyntai/filament-ai-chatbot
Package filament-ai-chatbot
Short Description Asyntai AI chatbot for Filament. Adds an AI chat assistant to your Filament panels and Laravel pages that answers questions from your own content.
License MIT
Homepage https://asyntai.com/documentation/integrations/filament/
Informations about the package filament-ai-chatbot
Asyntai AI Chatbot for Filament
Add the Asyntai AI chat assistant to your Filament panels. It answers your users' questions from your own content, such as your help center, docs and FAQs, in more than 80 languages, day and night.
Works with Filament 3, 4 and 5.
Install
Add your widget ID to .env:
Register the plugin on your panel:
Open the panel. The chat bubble is on every page, including the sign-in page.
Where the widget ID comes from
Open the Install page in your Asyntai dashboard.
The widget ID is the value of data-asyntai-id in the snippet shown there. It
starts with asyntai_.
Creating an account is free, and the Free plan is enough to try the widget.
Options
Every option also accepts a closure.
To set the defaults in a config file:
Personal answers
With ->userContext(), the assistant knows who is asking. It can greet users
by name and answer questions about their own account. The closure runs only for
signed-in users, so guests on the sign-in page get the widget without any user
data. User context is part of the Asyntai Standard and Pro plans.
Your public Laravel pages
The same package puts the assistant on any Blade page outside the panel, for
example your marketing site. Add this before </body> in your layout:
It reads the same ASYNTAI_WIDGET_ID. It also takes widget-id,
script-url and :user-context attributes.
What the plugin does
- It adds one small script at the end of each panel page. The script loads the widget after the page has loaded, so your panel always renders first.
- It works with Filament's SPA mode. When users move between pages, the chat stays open and the conversation continues.
- Panels without the plugin stay as they are.
- A missing or malformed widget ID never breaks a page. The plugin shows no widget and writes one warning to your Laravel log that says how to fix it.
Answering from your content
Asyntai reads your published pages. Add your help center or website URL in the dashboard, and the assistant answers from those pages. You can also add documents, and question and answer pairs.
Removing it
Remove the ->plugin(AiChatbotPlugin::make()) line and run
composer remove asyntai/filament-ai-chatbot.
Tests
Support
Email [email protected], or read the Filament guide.
Licence
MIT. See LICENSE.