Class PromptResponse
Represents the prompt and its corresponding AI-generated response in the SfInlineAIAssist component.
Inherited Members
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.InteractiveChat.dll
Syntax
public class PromptResponse
Remarks
This class is used to encapsulate a prompt-response pair returned by the AI engine within the SfInlineAIAssist component. The Prompt property holds the original input text submitted by the user, while the Response property contains the AI-generated output corresponding to that prompt.
Constructors
PromptResponse()
Declaration
public PromptResponse()
Properties
Prompt
Gets or sets the text of the prompt in the SfInlineAIAssist component.
Declaration
public string Prompt { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The text of the prompt. The default is |
Remarks
This property holds the raw prompt text entered by the user before it is processed by the AI engine.
Response
Gets or sets the response of the specified prompt in the SfInlineAIAssist component.
Declaration
public string Response { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The output response of the prompt. The default is |
Remarks
This property specifies the output response for the SfInlineAIAssist component.