Skip to main content

Interface: UserFeedbackPayload

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:26

Defines the structure for user-provided feedback on a GMI's performance or a specific message. This feedback is crucial for the GMI's adaptive learning capabilities and for system analytics.

Interface​

UserFeedbackPayload

Properties​

correctedContent?​

optional correctedContent: string

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:41

The answer the user says the assistant should have given. Stored as a semantic memory of the user so later turns can recall it.


customData?​

optional customData: Record<string, any>

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:44


rating?​

optional rating: "positive" | "negative" | "neutral"

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:28

Polarity label. When set, it decides the polarity even if score disagrees.


score?​

optional score: number

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:33

Numeric rating on a 1 to 5 scale, read when rating is absent: 4 and above is positive, 2 and below is negative, anything in between is neutral.


tags?​

optional tags: string[]

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:36


targetMessageId?​

optional targetMessageId: string

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:43

Identifier of the message the feedback refers to.


text?​

optional text: string

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:35

Free-text comment. Stored in the user's cognitive memory when configured.