SwiftenumContentKit

enum ContentKit.WFAskLLMSamplingStrategy

Structure

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

inherits{}

Members 5

  1. casecase greedy
  2. casecase topK(k: Int)
  3. casecase topP(probabilityThreshold: Double)
  4. initinit(rawValue: String) -> ContentKit.WFAskLLMSamplingStrategy?
  5. varvar rawValue: String { get }
enum WFAskLLMSamplingStrategy {
    enum CodingKeys {
        case type
        case probabilityThreshold
        case k
    }
    case topP(probabilityThreshold: Swift.Double)
    case topK(k: Swift.Int)
    case greedy

    init?(rawValue: Swift.String)

    var rawValue: Swift.String {
        get
    }
}