PromptToExpressionRequestBase Members
A base class that defines common settings and state used by Prompt to Expression requests (PromptToExpressionRequest orPromptToFilterRequest).
Constructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| Columns | Gets or sets data columns that the AI is allowed to reference. |
| Constants | Gets or sets report constants that the AI can use when generating the expression. |
| ConversationMessages | Gets or sets the conversation history between the user and the AI service. |
| CurrentExpression | Gets or sets an existing expression (filter or unbound column expression). |
| Functions | Gets or sets functions that the AI can use when generating the expression. |
| Options | Gets advanced request settings that control AI behavior. |
| Parameters | Gets or sets report parameters that the AI can use when generating the expression. |
| UserPrompt | Gets or sets a natural-language description of the desired logic. |
Methods
| Name | Description |
|---|---|
| CloneWithHistory(IList<ExpressionConversationMessage>) | Creates a copy of the request and replaces its conversation history. |
| Equals(Object, Object) static | Determines 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() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines 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