Skip to main content

PromptSegmentType

A segment of a prompt with optional entity highlighting.

type PromptSegmentType {
entityType: String
icon: String
text: String!
}

Fields​

PromptSegmentType.entityType ● String scalar​

Entity type for highlighting (merchant, category, amount, budget, goal)

PromptSegmentType.icon ● String scalar​

Optional emoji icon for the entity (e.g., category/budget icon)

PromptSegmentType.text ● String! non-null scalar​

The text content of this segment

Member Of​

SmartPromptType object