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?
optionalcorrectedContent: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?
optionalcustomData:Record<string,any>
Defined in: packages/agentos/src/api/types/AgentOSInput.ts:44
rating?
optionalrating:"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?
optionalscore: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?
optionaltags:string[]
Defined in: packages/agentos/src/api/types/AgentOSInput.ts:36
targetMessageId?
optionaltargetMessageId:string
Defined in: packages/agentos/src/api/types/AgentOSInput.ts:43
Identifier of the message the feedback refers to.
text?
optionaltext:string
Defined in: packages/agentos/src/api/types/AgentOSInput.ts:35
Free-text comment. Stored in the user's cognitive memory when configured.