GraphConfig and a prompt, receive a GraphConfig with the dataset reshaped — filtered, grouped, aggregated, derived, and sorted.
Methods
generateMutation
Processes the request and returns the final result. Internally handles streaming and collects the response.generateMutationStream
Returns an async iterator that yields events as they arrive.Parameters
Response
The response is validated with Zod. Invalid responses throw an error.
Basic Usage
With Progress Callback
Use theonProgress callback to show real-time progress without full streaming:

