New to Telerik ReportingStart a free 30-day trial

Represents the arguments passed to the GetAIResponse method of the IReportEngine

Definition

Namespace:Telerik.Reporting.Services.Engine

Assembly:Telerik.Reporting.dll

Syntax:

C#
public class AIQueryArgs

Inheritance: objectAIQueryArgs

Constructors

C#
public AIQueryArgs()

Properties

Gets or sets a callback function for confirmation, which receives the number of tokens and returns a boolean determining if sending the prompt to LLM should continue.

C#
public Func<AIRequestInfo, ConfirmationResult> ConfirmationCallBack { get; set; }

Query

string

The question given to the AI model

C#
public string Query { get; set; }