Skip to content

Commit 3df78a3

Browse files
add an article for how the AI looks in the web viewers (#1689)
* add an article for how the AI looks in the web viewers * Update embedding-reports/display-reports-in-applications/web-application/ai-interactivity.md Co-authored-by: Petar Todorov <[email protected]> * Update embedding-reports/display-reports-in-applications/web-application/ai-interactivity.md Co-authored-by: Petar Todorov <[email protected]> --------- Co-authored-by: Petar Todorov <[email protected]>
1 parent 681d8d2 commit 3df78a3

File tree

6 files changed

+91
-0
lines changed

6 files changed

+91
-0
lines changed
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
title: AI Interactivity
3+
page_title: AI Interactivity in HTML5-based Report Viewers
4+
description: "Learn more about the AI functionalities available for use in the HTML5-based Report Viewers in Telerik Reporting."
5+
slug: telerikreporting/using-reports-in-applications/display-reports-in-applications/web-application/ai-interactivity
6+
tags: ai,prompt,dialog,interactivity
7+
published: True
8+
position: 12
9+
---
10+
11+
12+
# Overview of the AI Interactivity
13+
14+
Beginning with the **2025 Q2** release, we are introducing the new [AI-Powered Insights]({%slug telerikreporting/designing-reports/adding-interactivity-to-reports/ai-powered-insights%}) functionality to our Web Report Viewers.
15+
16+
During the report preview phase, AI-generated insights offer an extensive suite of functionalities, including the formulation of responses, the construction of prompts, engagement with AI-generated content, and the execution of predefined instructions.
17+
18+
![An image of the HTML5 Report Viewer with the AI-Powered Insights Dialog being opened](images/HTML5ReportViewer/ai-prompt-and-sass-viewer.png)
19+
20+
## Configuration
21+
22+
The [AI-Powered Insights]({%slug telerikreporting/designing-reports/adding-interactivity-to-reports/ai-powered-insights%}) functionality can be enabled through the configuration file of the project where the [Reporting REST Service]({%slug telerikreporting/using-reports-in-applications/host-the-report-engine-remotely/telerik-reporting-rest-services/overview%}) is running.
23+
24+
Below is an example of how to configure the project for the `AzureOpenAI` option.
25+
26+
````JSON
27+
{
28+
"telerikReporting": {
29+
"AIClient": {
30+
"friendlyName": "MicrosoftExtensionsAzureOpenAI",
31+
"model": "gpt-4o-mini",
32+
"endpoint": "https://ai-explorations.openai.azure.com/",
33+
"credential": "...",
34+
"requireConsent": false,
35+
"allowCustomPrompts": false,
36+
"predefinedPrompts": [
37+
{ "text": "Can you summarise the repor for me?" }
38+
]
39+
}
40+
}
41+
}
42+
````
43+
````XML
44+
<Telerik.Reporting>
45+
<AIClient
46+
friendlyName="MicrosoftExtensionsAzureOpenAI"
47+
model="gpt-4o-mini"
48+
endpoint="https://ai-explorations.openai.azure.com/"
49+
credential="..."
50+
requireConsent="false"
51+
allowCustomPrompts="false">
52+
<predefinedPrompts>
53+
<add text="Can you summarise the repor for me?" />
54+
</predefinedPrompts>
55+
</AIClient>
56+
</Telerik.Reporting>
57+
````
58+
59+
>note For more information about the configuration options, visit the [AI-Powered Insights]({%slug telerikreporting/designing-reports/adding-interactivity-to-reports/ai-powered-insights%}) article.
60+
61+
## Visual Representation of the AI Prompt
62+
63+
The AI Prompt will change visually based on the configuration settings and the current selected state - *asking a question* or *inspecting the output*.
64+
65+
### Consent
66+
67+
Before any user can use this feature, upon opening the AI Prompt Dialog, they will be asked to give consent to the AI to process the provided text.
68+
69+
![An Image of how the AI Prompt Consent Dialog Appears in the HTML5-based Report Viewers](images/HTML5ReportViewer/ai-consent.png)
70+
71+
### Ask AI Prompt
72+
73+
After consent is given, the prompt for asking the AI questions will appears in the top-right corner of the report viewer. The UI will change depending on whether custom questions are allowed.
74+
75+
- Default **Ask AI** Rrompt Dialog with enabled custom questions and two predefined ones
76+
77+
![An Image of how the Ask AI Prompt will look with enabled custom questions and two predefined ones in the HTML5-based Report Viewers](images/HTML5ReportViewer/ai-prompt.png)
78+
79+
- **Ask AI** Prompt Dialog with disabled custom questions and two predefined ones
80+
81+
![An Image of how the Ask AI Prompt will look with disabled custom questions and two predefined ones in the HTML5-based Report Viewers](images/HTML5ReportViewer/ai-disabled-customPromt.png)
82+
83+
### Output
84+
85+
The **Output** of the AI processor will be displayed in the `Output` tab of the `Ask AI` Prompt after the result has been generated:
86+
87+
![An Image of how the Ask AI Prompt will look when the output has been generated in the HTML5-based Report Viewers](images/HTML5ReportViewer/ai-output.png)
88+
## See Also
89+
90+
* [AI-Powered Insights]({%slug telerikreporting/designing-reports/adding-interactivity-to-reports/ai-powered-insights%})
91+
* [AIClient Element]({%slug telerikreporting/aiclient-element%})

0 commit comments

Comments
 (0)