Add a column whose values are generated by an AI model from the data of each row - taglines, categories, sentiment or translations - computed for the visible page in a single request.
Product | Category | Price | auto_awesome
AI tagline |
|---|---|---|---|
| Alice Mutton | ¤39.00 | ||
| Aniseed Syrup | ¤10.00 | ||
| Boston Crab Meat | ¤18.40 | ||
| Camembert Pierrot | ¤34.00 | ||
| Carnarvon Tigers | ¤62.50 | ||
| Chai | ¤18.00 |
The column uses a Template that reads from a dictionary keyed by product id. After the first render and on every Page event the page asks the IChatClient from
IAIChatService.GetChatClient() for the rows of the current page that have no value yet, asking for a JSON object with ChatResponseFormat.Json, so one request covers the whole page. Rows show a RadzenSkeleton until their value arrives.
No. The page asks the model for all rows of the current page in a single structured-output request and caches the values.
Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under
MIT