You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: interactivity/ai-powered-insights-overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: AI-Powered Insights
2
+
title: AI-Powered Insights Overview
3
3
page_title: AI-Powered Insights in Report Preview
4
4
description: "Learn about the AI insights feature of Reporting, which allow users to execute predefined or custom prompts on the core data of the previewed report, receiving responses from an AI model."
This article outlines the different ways to customize the AI-powered insights functionality to handle different use cases. They are listed as follows:
11
+
# Customizing AI-Powered Insights
12
+
13
+
This article explains how to customize the AI-powered insights functionality for different use cases. There are two distinct ways to achieve this:
12
14
-[Configuring the Report Engine](#configuring-the-report-engine) - Declarative configuration through application settings.
13
15
-[Overriding ReportsControllerBase Methods](#overriding-reportscontrollerbase-methods) - Programmatic customization with custom logic.
14
16
@@ -45,7 +47,7 @@ This is a base configuration, but it can be further extended to handle specific
45
47
46
48
By default, the **AI Prompt** dialog requests explicit consent from users before sending prompts to the AI model. This ensures transparency about data being sent to external AI services and gives users control over their data privacy
47
49
48
-
<img src="images/user-consent.png" style="border: 1px solid lightgray; width: 500px" alt="User Consent for AI Summaries" />
50
+
<imgsrc="images/user-consent.png"style="border: 1pxsolidlightgray; width: 500px"alt="User Consent for AI Summaries" />
49
51
50
52
In enterprise environments where AI usage policies are already established or when working with trusted internal models, you may want to streamline the user experience by disabling this consent requirement. In these cases, you can set the `requireConsent` option to `false`:
51
53
@@ -70,9 +72,9 @@ In enterprise environments where AI usage policies are already established or wh
70
72
71
73
### Prompts Configuration
72
74
73
-
By default, users can create their own custom prompts to ask any questions about their reports. While this provides maximum flexibility, it can lead to unpredictable token usage costs and potentially inconsistent results. In these cases, you might want to provide the users with predefined prompts that are designed to handle specific tasks.
75
+
By default, users can create their own custom prompts to ask any questions about their reports. While this provides maximum flexibility, it can lead to unpredictable token usage costs and potentially inconsistent results. In these cases, you can provide the users with predefined prompts that are designed to handle specific tasks.
74
76
75
-
To restrict users to predefined prompts only, you can set `allowCustomPrompts` to `false` and add the predefined prompts through the `predefinedPrompts` option:
77
+
To restrict users to predefined prompts only, you set `allowCustomPrompts` to `false` and add the predefined prompts through the `predefinedPrompts` option:
76
78
77
79
````JSON
78
80
{
@@ -396,47 +398,6 @@ public override async Task<HttpResponseMessage> GetAIResponse(string clientID, s
Copy file name to clipboardExpand all lines: interactivity/custom-iclient.md
+92-90Lines changed: 92 additions & 90 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,123 +18,123 @@ To enable a custom AI client implementation, follow these steps:
18
18
19
19
1. Create a class that implements the `Telerik.Reporting.AI.IClient` interface. The following example demonstrates an Azure OpenAI integration for illustration purposes, though you can use any LLM provider:
0 commit comments