Class
AIClientInfo

A model containing the configuration settings representing the AI client used for AI Insights feature.

Definition

Namespace:Telerik.Reporting.Services.Engine

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class AIClientInfo

Inheritance: objectAIClientInfo

Derived Classes: AIThreadInfo

Constructors

AIClientInfo()

Declaration

cs-api-definition
public AIClientInfo()

Properties

AllowCustomPrompts

Gets or sets a flag indicating whether users are allowed to input custom prompts.

Declaration

cs-api-definition
public bool AllowCustomPrompts { get; set; }

Property Value

bool

Remarks

Specifies whether end-users can submit custom prompts to the AI assistant. When this is disabled there must be at least one predefined prompt available.

AllowRag

Gets or sets a flag indicating whether users have enabled the RAG setting.

Declaration

cs-api-definition
public bool AllowRag { get; set; }

Property Value

bool

Remarks

Specifies whether each prompt will go through the RAG optimizer or not. When this is disabled each prompt will be sent as it is, without trying to optimize it.

ConsentMessage

Gets or sets a consent message which users have to accept in order to use the AI feature.

Declaration

cs-api-definition
public string ConsentMessage { get; set; }

Property Value

string

Remarks

Specifies the message which end-users will see when the RequireConsent flag is set to true.

PredefinedPrompts

Gets or sets a collection of predefined prompts available for use within this AI thread.

Declaration

cs-api-definition
public List<string> PredefinedPrompts { get; set; }

Property Value

List<string>

Remarks

Predefined prompts provide suggested or commonly used queries that can be presented to users, making it easier to interact with the AI functionality in the reporting system.

RequireConsent

Gets or sets a flag indicating whether user consent is required to use the AI feature.

Declaration

cs-api-definition
public bool RequireConsent { get; set; }

Property Value

bool

Remarks

Specifies whether end-users will see a ConsentMessage that requires their explicit agreement before allowing the use of the AI feature