Seiten · Laravilt
Resource AI
Configure AI capabilities for resources
Configure AI capabilities for your resources to enable AI-powered CRUD operations.
Basic Configuration
php
CRUD Permissions
php
Searchable Columns
php
Custom Provider
php
AIAgent Methods
| Method | Parameters | Description |
|---|---|---|
name() | string | Agent name |
description() | string | Agent description |
systemPrompt() | string | System prompt |
columns() | array | AI columns |
searchable() | array | Searchable fields |
canCreate() | bool | Allow create |
canUpdate() | bool | Allow update |
canDelete() | bool | Allow delete |
canQuery() | bool | Allow query |
provider() | string | AI provider |
aiModel() | string | AI model |
temperature() | float | Response randomness |
maxTokens() | int | Max response tokens |
Related
- AI Columns - Define AI columns