SwiftstructPromptKit

struct GenerativeModelsFoundation.SelfAttention

Structure

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

Members 5

  1. varstatic var name: String { get }
  2. fieldlet text: String+0x0
  3. functoValue() -> PromptKit.Prompt.Component.Value
  4. initinit(String) -> GenerativeModelsFoundation.SelfAttention
  5. typealiastypealias WireFormat = PromptKit.Promptkit_Wireformat_SelfAttention
struct SelfAttention {
    enum CodingKeys {
        case text
    }
    let text: Swift.String

    init(_: Swift.String)

    func toValue() -> PromptKit.Prompt.Component.Value

    static var name: Swift.String {
        get
    }
}