Properties
Optional handlePromptGuardrailViolation
handlePromptGuardrailViolation?: ((violation) => LLMMessage)
Type declaration
- (violation): LLMMessage
Parameters
violation: GuardrailResponse
Returns LLMMessage
Optional handleResponseGuardrailViolation
handleResponseGuardrailViolation?: ((violation) => LLMMessage)
Type declaration
- (violation): LLMMessage
Parameters
violation: GuardrailResponse
Returns LLMMessage
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[]