Versions in this module Expand all Collapse all v2 v2.2.1 Oct 2, 2026 Changes in this version + func Available() bool + func Register(f Func) + type ComplianceEventOutput struct + Description string + EventType string + Metadata map[string]interface{} + Severity string + type Func func(source []byte, input *ScriptInput, svc services.ServiceInterface) (*ScriptOutput, error) + func Registered() Func + type ScriptInput struct + ChunkIndex int + Context map[string]interface{} + Ctx context.Context + CurrentBuffer string + IsChat bool + IsChunk bool + IsFinal bool + IsResponse bool + Messages []llms.MessageContent + ModelName string + RawInput string + StatusCode int + VendorName string + type ScriptOutput struct + Block bool + ComplianceEvents []ComplianceEventOutput + Message string + Messages []map[string]interface{} + Payload string