SwiftstructHybridSearch

struct HybridSearch.SearchType.Semantic

Structure

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

inherits{}

Members 11

  1. fieldlet checkSafety: Bool+0x29
  2. fieldlet contextLength: HybridSearch.SearchType.Semantic.ContextLength+0x2a
  3. fieldlet cosineDistanceThreshold: Double?+0x10
  4. fieldlet limit: Int?+0x20
  5. fieldlet query: String+0x0
  6. initinit(cosineDistanceThreshold: Double?) -> HybridSearch.SearchType.Semantic
  7. initinit(query: String, cosineDistanceThreshold: Double?, limit: Int?, checkSafety: Bool, contextLength: HybridSearch.SearchType.Semantic.ContextLength) -> HybridSearch.SearchType.Semantic
  8. initinit(query: String, cosineDistanceThreshold: Double?, limit: Int?, checkSafety: Bool) -> HybridSearch.SearchType.Semantic
  9. initinit(query: String, cosineDistanceThreshold: Double?, limit: Int?) -> HybridSearch.SearchType.Semantic
  10. varvar description: String { get }
  11. varvar redactedDescription: String { get }
struct HybridSearch.SearchType.Semantic {
    enum ContextLength {
        case short
        case extended
    }
    let query: Swift.String
    let cosineDistanceThreshold: Swift.Double?
    let limit: Swift.Int?
    let checkSafety: Swift.Bool
    let contextLength: HybridSearch.SearchType.Semantic.ContextLength

    init(cosineDistanceThreshold: Swift.Double?)
    init(query: Swift.String, cosineDistanceThreshold: Swift.Double?, limit: Swift.Int?, checkSafety: Swift.Bool, contextLength: HybridSearch.SearchType.Semantic.ContextLength)
    init(query: Swift.String, cosineDistanceThreshold: Swift.Double?, limit: Swift.Int?, checkSafety: Swift.Bool)
    init(query: Swift.String, cosineDistanceThreshold: Swift.Double?, limit: Swift.Int?)

    var description: Swift.String {
        get
    }
    var redactedDescription: Swift.String {
        get
    }
}