Properties
Optional
handlePromptGuardrailViolation
handlePromptGuardrailViolation?: ((violation) => any)
Type declaration
- (violation): any
Parameters
violation: GuardrailResponse
Returns any
Optional
handleResponseGuardrailViolation
handleResponseGuardrailViolation?: ((violation) => any)
Type declaration
- (violation): any
Parameters
violation: GuardrailResponse
Returns any
Optional
layerupApiBaseUrl
layerupApiBaseUrl?: string
Optional
layerupApiKey
layerupApiKey?: string
Optional
mask
mask?: boolean
Optional
metadata
metadata?: Record<string, unknown>
Optional
promptGuardrails
promptGuardrails?: string[]
Optional
responseGuardrails
responseGuardrails?: string[]