GetAIRequest
methodsReturns a request configuration object that can be sent to AI services for processing natural language prompts. This method generates a standardized request format that includes the user's prompt and column metadata, which AI services can use to generate appropriate Grid commands.
Use this method when implementing custom AI integrations or when you need to send Grid context to an AI service endpoint. The returned object can be serialized to JSON and sent directly to compatible AI services.
Parameters:promptString
Returns:Object
The user's natural language prompt describing the desired Grid operation (e.g., "sort by name ascending", "filter rows where age is greater than 30", "highlight all rows from New York").
A request configuration object with the following structure: