Not everything is stored in your database, so you might want to build a Custom Page with a search inside it.
We have a custom Filament page where we show a form.
app/Filament/Pages/AskAI.php:
use Filament\Pages\Page;use Filament\Forms\Form;use Filament\Forms\Components\Textarea; class AskAI extends Page{ protected static ?string $navigationIcon = 'heroicon-o-question-mark-circle'; protected static string $view = 'filament.pages.ask-ai'; protected static ?string $title = 'Ask AI'; public ?array $data = []; public string $answer = ''; public function mount(): void { $this->form->fill(); } public function form(Form $form): Form { return $form ->schema([ Textarea::make('question') ->required(), ]) ->statePath('data'); }}
Next, we will: