Skip to main content

Interface: IOutputEvidence

Defined in: internal/guardrails/types.ts:267

Everything an output rule may inspect.

Properties​

chunks​

chunks: IChunk[]

Defined in: internal/guardrails/types.ts:273

KB chunks that were in the prompt.


output​

output: unknown

Defined in: internal/guardrails/types.ts:271

The parsed answer when an outputSchema was given, otherwise the answer's text.


profile​

profile: IAIProfile

Defined in: internal/guardrails/types.ts:279

The profile of the call.


prompt​

prompt: string

Defined in: internal/guardrails/types.ts:269

The user's question the answer is for (sanitised).


threadId​

threadId: string

Defined in: internal/guardrails/types.ts:281

The thread of the call; it exists by now, the user turn is stored.


toolResults​

toolResults: IToolResultPart[]

Defined in: internal/guardrails/types.ts:275

Tool results of this run.


userContext​

userContext: IUserContext

Defined in: internal/guardrails/types.ts:277

Who is calling: tenant, user, permissions, locale.