Interface: MiddlewareConfig
Prefactor TypeScript SDK / @prefactor/packages/ai / MiddlewareConfig
Interface: MiddlewareConfig
Section titled “Interface: MiddlewareConfig”Defined in: packages/ai/src/types.ts:16
Configuration options for the Prefactor middleware.
Properties
Section titled “Properties”captureContent?
Section titled “captureContent?”
optionalcaptureContent:boolean
Defined in: packages/ai/src/types.ts:22
Whether to capture prompt and response content in span inputs/outputs. Set to false to reduce data volume or for privacy reasons.
Default
Section titled “Default”truecaptureTools?
Section titled “captureTools?”
optionalcaptureTools:boolean
Defined in: packages/ai/src/types.ts:28
Whether to capture tool call information.
Default
Section titled “Default”true