SwiftstructContentKit
struct ContentKit.BooleanOutput
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolContentKit.WFModelResponse
- protocolSwift.Decodable
- protocolSwift.Encodable
Members 6
- func
static collect(AsyncThrowingStream<ContentKit.BooleanOutput.Streaming, Error>) -> AsyncThrowingStream<ContentKit.BooleanOutput, Error> - func
static constraint() -> String? - func
static promptTemplateSuffix() -> String - var
static var schema: GenerativeFunctionsFoundation.Schema { get } - field
let answer: Bool+0x0 - init
init(answer: Bool) -> ContentKit.BooleanOutput
Header
struct BooleanOutput { struct Streaming { let _answer: Swift.AsyncThrowingStream<Swift.Bool, any Swift.Error> init(objectID: Foundation.UUID, decoder: any GenerativeFunctionsFoundation._StreamingDecoder) async throws var answer: GenerativeFunctions.StreamSignal<Swift.Bool> { get } } enum CodingKeys { case answer } let answer: Swift.Bool init(answer: Swift.Bool) static var schema: GenerativeFunctionsFoundation.Schema { get } static func constraint() -> Swift.String? static func promptTemplateSuffix() -> Swift.String static func collect(_: Swift.AsyncThrowingStream<ContentKit.BooleanOutput.Streaming, any Swift.Error>) -> Swift.AsyncThrowingStream<ContentKit.BooleanOutput, any Swift.Error> }