Tala Esenlikler
Prompt Text Provider

AddPromptPart

Appends a visible semantic prompt part to a presentation result.

Interaction Framework 1.0.0 UE5.7 Function UInteractionRuntimePromptTextProvider

Appends a visible semantic prompt part to a presentation result.

Use this from prompt text generation code on UInteractionRuntimePromptTextProvider when the operation described by the summary is needed.

Owner UInteractionRuntimePromptTextProvider
Module InteractionFrameworkRuntime
Category InteractionRuntime|Prompt
UFUNCTION(BlueprintCallable, BlueprintPure = false, Category = "InteractionRuntime|Prompt", meta = (BlueprintProtected = "true")
) void AddPromptPart( UPARAM(ref) FInteractionRuntimePromptPresentationResult& InOutPresentation, EInteractionRuntimePromptPartType Type, const FText& Text, FName StyleName = NAME_None, FName MetadataTag = NAME_None) const;

Parameters

Inputs
Text
const FText&

Text value supplied to the operation.

StyleName
FName Default: NAME_None

Optional style name used by prompt presentation.

MetadataTag
FName Default: NAME_None

Optional metadata tag used by prompt presentation.

Outputs

Return Value

void

No return value.

Use Cases

  • Use during prompt text generation workflows when appends a visible semantic prompt part to a presentation result..

Related Docs