Skip to content
GridPHP FrameworkGridPHP FrameworkGridPHP FrameworkDocumentation

AI Assistant

First step to use AI Assistant is to enter the API Key. Free API Key can be obtained from Groq Cloud Platform.

AI Api Key

Next, you can enable AI Assistant in the DataGrid by the following setting:

$g->set_actions(array(
// ...
"aiassistant"=>true,
// ...
)
)

This will show the AI Assistant icon in the toolbar.

When you click the AI Assistant button, It will open a chat mode for the DataGrid where you can ask the questions about your data.