Skip to main content

Interface: IInputEvidence

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

Everything an input rule may inspect.

Properties​

files​

files: IFileRef[]

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

The files of the prompt (pointers).


inlineFiles​

inlineFiles: IInlineFilePart[]

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

The same files with their bytes, in the order of files; the judge sends the ones its fileFilter picks.


profile​

profile: IAIProfile

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

The profile of the call.


prompt​

prompt: string

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

Sanitised prompt (trimmed, normalised).


threadId?​

optional threadId?: string

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

The thread of the call; undefined when the call creates a new thread (it does not exist yet).


userContext​

userContext: IUserContext

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

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