Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions interactivity/built-in-client-integration-ai-insights.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,23 @@ To enable the AI-powered insights, follow these steps:
}
````
````XML
<Telerik.Reporting>
<AIClient
friendlyName="MicrosoftExtensionsAzureOpenAI"
model="gpt-4o-mini"
endpoint="https://ai-explorations.openai.azure.com/"
credential="YOUR_API_KEY">
</AIClient>
</Telerik.Reporting>
<configuration>
<configSections>
<section
name="Telerik.Reporting"
type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting"
allowLocation="true"
allowDefinition="Everywhere"/>
</configSections>
<Telerik.Reporting>
<AIClient
friendlyName="MicrosoftExtensionsAzureOpenAI"
model="gpt-4o-mini"
endpoint="https://ai-explorations.openai.azure.com/"
credential="YOUR_API_KEY">
</AIClient>
</Telerik.Reporting>
</configuration>
````


Expand Down
46 changes: 32 additions & 14 deletions interactivity/customizing-ai-powered-insights.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,20 @@ In enterprise environments where AI usage policies are already established or wh
}
````
````XML
<Telerik.Reporting>
<AIClient
requireConsent="false">
</AIClient>
</Telerik.Reporting>
<configuration>
<configSections>
<section
name="Telerik.Reporting"
type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting"
allowLocation="true"
allowDefinition="Everywhere"/>
</configSections>
<Telerik.Reporting>
<AIClient
requireConsent="false">
</AIClient>
</Telerik.Reporting>
</configuration>
````

### Prompts Configuration
Expand All @@ -65,15 +74,24 @@ To restrict users to predefined prompts only, you set `allowCustomPrompts` to `f
}
````
````XML
<Telerik.Reporting>
<AIClient
allowCustomPrompts="false">
<predefinedPrompts>
<add text="Generate a summary of the report." />
<add text="Translate the report into German." />
</predefinedPrompts>
</AIClient>
</Telerik.Reporting>
<configuration>
<configSections>
<section
name="Telerik.Reporting"
type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting"
allowLocation="true"
allowDefinition="Everywhere"/>
</configSections>
<Telerik.Reporting>
<AIClient
allowCustomPrompts="false">
<predefinedPrompts>
<add text="Generate a summary of the report." />
<add text="Translate the report into German." />
</predefinedPrompts>
</AIClient>
</Telerik.Reporting>
</configuration>
````

You can also add predefined prompts without disabling custom ones, giving users both curated options and the flexibility to create their own queries.
Expand Down