SwiftstructContentKit

struct ContentKit.BooleanOutput

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 6

  1. funcstatic collect(AsyncThrowingStream<ContentKit.BooleanOutput.Streaming, Error>) -> AsyncThrowingStream<ContentKit.BooleanOutput, Error>
  2. funcstatic constraint() -> String?
  3. funcstatic promptTemplateSuffix() -> String
  4. varstatic var schema: GenerativeFunctionsFoundation.Schema { get }
  5. fieldlet answer: Bool+0x0
  6. initinit(answer: Bool) -> ContentKit.BooleanOutput
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>
}