Back to Devexpress

PromptToExpressionRequestBase Members

corelibraries-devexpress-dot-aiintegration-dot-extensions-dot-prompttoexpressionrequestbase-dot-underscore-members.md

latest5.4 KB
Original Source

PromptToExpressionRequestBase Members

A base class that defines common settings and state used by Prompt to Expression requests (PromptToExpressionRequest or PromptToFilterRequest).

Constructors

NameDescription
PromptToExpressionRequestBase(String, String, IEnumerable<PromptToExpressionRequestBase.ColumnInfo>, IEnumerable<PromptToExpressionRequestBase.FunctionInfo>, IEnumerable<PromptToExpressionRequestBase.ConstantInfo>, IEnumerable<PromptToExpressionRequestBase.ParameterInfo>))Initializes a new instance of the PromptToExpressionRequestBase class with specified settings.
PromptToExpressionRequestBase(String, String, IEnumerable<PromptToExpressionRequestBase.ColumnInfo>, IEnumerable<PromptToExpressionRequestBase.FunctionInfo>))Initializes a new instance of the PromptToExpressionRequestBase class with specified settings.

Properties

NameDescription
ColumnsGets or sets data columns that the AI is allowed to reference.
ConstantsGets or sets report constants that the AI can use when generating the expression.
ConversationMessagesGets or sets the conversation history between the user and the AI service.
CurrentExpressionGets or sets an existing expression (filter or unbound column expression).
FunctionsGets or sets functions that the AI can use when generating the expression.
OptionsGets advanced request settings that control AI behavior.
ParametersGets or sets report parameters that the AI can use when generating the expression.
UserPromptGets or sets a natural-language description of the desired logic.

Methods

NameDescription
CloneWithHistory(IList<ExpressionConversationMessage>)Creates a copy of the request and replaces its conversation history.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

PromptToExpressionRequestBase Class

DevExpress.AIIntegration.Extensions Namespace