New to Telerik ReportingStart a free 30-day trial

Represents the details of an AI request: the origin of the request (RAG or Client), the estimated token count, and whether RAG was used to answer the query.

Definition

Namespace:Telerik.Reporting.Services.Engine

Assembly:Telerik.Reporting.dll

Syntax:

C#
public class AIRequestInfo

Inheritance: objectAIRequestInfo

Properties

Gets the estimated number of tokens based on the current input or configuration.

C#
public int EstimatedTokensCount { get; }

Identifies the origin of the request. 'RAG' identifies the request being sent to determine whether the original query is suitable to be passed through the internal RAG algorithm. 'Client' identifies the request being sent from the client, e.g. Report Viewer.

C#
public AIRequestInfo.AIRequestOrigin Origin { get; }

Determines whether RAG was being used to answer the request.

C#
public AIRequestInfo.RAGOptimizationState RAGOptimization { get; }