createDefaultAIClient
Function
Definition
Package:@progress/kendo-react-datainsights-composer
The default, ready-made DatAInsightsComposerAIClient: builds prompts, requests structured JSON
output, and sanitizes/maps the response into DatAInsightsConfigs. Supply a DatAInsightsComposerAITransport
for how to actually reach an AI provider (fetch to your own backend proxy, an SDK call,
...) — this factory has no opinion about that, and no React dependency.
Parameters:transportDatAInsightsComposerAITransportoptions?CreateDefaultAIClientOptionsReturns:
DatAInsightsComposerAIClient intersected with { setModel: void }