UseGridAIRequestOptions
Options for the useGridAIRequest hook.
| Name | Type | Default | Description |
|---|---|---|---|
columns? |
|
The columns to include in the request. | |
gridRef? |
|
Reference to grid methods. | |
gridState? |
|
The current grid state. | |
onExportPdf? |
|
Callback fired when PDF export is requested. | |
onMessages? |
|
Callback fired when messages are received from AI. | |
onPromptRequest? |
|
Callback fired before the request is sent. | |
onResponseError? |
|
Callback fired when the response returns an error. | |
onResponseSuccess? |
|
Callback fired when the response is received successfully. | |
onStateChange? |
|
Callback fired when the grid state should be updated. | |
requestOptions? |
|
Additional axios request options. | |
requestUrl? |
|
The URL to send the AI request to. | |
role? |
|
The role for the AI request. Defaults to 'user'. |