SwiftextensionGenerativeModels
StringRenderedPromptSanitizer
extension GenerativeModels.StringRenderedPromptSanitizer
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
Members 4
Header
extension GenerativeModels.StringRenderedPromptSanitizer { struct ScrubMetadata { let useCaseIdentifier: Swift.String let userRequestIdentifier: Foundation.UUID let onBehalfOfProcessId: Swift.Int32 init(useCaseIdentifier: Swift.String, userRequestIdentifier: Foundation.UUID, onBehalfOfProcessId: Swift.Int32) init(useCaseIdentifier: Swift.String, onBehalfOfProcessId: Swift.Int32) init(useCaseIdentifier: Swift.String) } struct PrewarmMetadata { let useCaseIdentifier: Swift.String let onBehalfOfProcessId: Swift.Int32 init(useCaseIdentifier: Swift.String, onBehalfOfProcessId: Swift.Int32) init(useCaseIdentifier: Swift.String) } func scrub(_: Swift.String, metadata: GenerativeModels.StringRenderedPromptSanitizer.ScrubMetadata) async throws -> Swift.String func scrub(_: Swift.String) async throws -> Swift.String func prewarm(metadata: GenerativeModels.StringRenderedPromptSanitizer.PrewarmMetadata) func cooldown() }