Interface: ModerationContext
Defined in: packages/agentos/src/safety/guardrails/ModerationContext.ts:14
Properties
messageId?
optionalmessageId:string
Defined in: packages/agentos/src/safety/guardrails/ModerationContext.ts:21
The content's own id in the host's store.
rating?
optionalrating:string
Defined in: packages/agentos/src/safety/guardrails/ModerationContext.ts:19
The place's content rating, in the host's own words (safe, standard, ...). A word.
roomId?
optionalroomId:string
Defined in: packages/agentos/src/safety/guardrails/ModerationContext.ts:17
The place the content appears in: a room, a thread, a page.
sender?
optionalsender:object
Defined in: packages/agentos/src/safety/guardrails/ModerationContext.ts:23
Who wrote the content, when that is not the userId the call runs for.
id
id:
string
kind?
optionalkind:"agent"|"account"|"guest"
surface
surface:
string&object|ModerationSurface
Defined in: packages/agentos/src/safety/guardrails/ModerationContext.ts:15