Hierarchy (view full)

Constructors

Properties

handlePromptGuardrailViolation: ((violation: GuardrailResponse) => LLMMessage) = defaultGuardrailViolationHandler
handleResponseGuardrailViolation: ((violation: GuardrailResponse) => LLMMessage) = defaultGuardrailViolationHandler
layerupApiBaseUrl: string = "https://api.uselayerup.com/v1"
layerupApiKey: string
llm: BaseLLM
mask: boolean = false
metadata: Record<string, unknown> = {}
promptGuardrails: string[] = []
responseGuardrails: string[] = []