SwiftenumContentKit
enum ContentKit.SafetyLevel
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolFoundationModels.Generable
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
- protocolSwift.RawRepresentable
Members 8
- var
static var generationSchema: FoundationModels.GenerationSchema { get } - case
case handleWithCare - case
case safe - case
case unsafe - init
init(FoundationModels.GeneratedContent) throws -> ContentKit.SafetyLevel - typealias
typealias PartiallyGenerated = ContentKit.SafetyLevel - typealias
typealias RawValue = Swift.String - var
var generatedContent: FoundationModels.GeneratedContent { get }
Header
enum SafetyLevel { case safe case unsafe case handleWithCare init(_: FoundationModels.GeneratedContent) throws var generatedContent: FoundationModels.GeneratedContent { get } static var generationSchema: FoundationModels.GenerationSchema { get } }