SwiftstructIntelligenceFlowPlannerSupport
QueryContextPrediction
struct IntelligenceFlowPlannerSupport.QueryContextPrediction
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
Members 4
- field
let contextRequirement: IntelligenceFlowPlannerSupport.QueryContextPrediction.ContextRequirement+0x0 - init
init(transcript: IntelligenceFlowProto.TranscriptProtoQueryContextPrediction) throws -> IntelligenceFlowPlannerSupport.QueryContextPrediction - init
init(contextRequirement: IntelligenceFlowPlannerSupport.QueryContextPrediction.ContextRequirement) -> IntelligenceFlowPlannerSupport.QueryContextPrediction - typealias
typealias TranscriptType = IntelligenceFlowProto.TranscriptProtoQueryContextPrediction
Header
struct QueryContextPrediction { enum ContextRequirement { case none case screenEntities init(transcript: IntelligenceFlowProto.TranscriptProtoQueryContextPrediction.ContextRequirement) throws var description: Swift.String { get } var requiresEntitiesContext: Swift.Bool { get } var selfSchemaType: __C.CPSchemaCPContextPredictorResult { get } } enum CodingKeys { case contextRequirement } let contextRequirement: IntelligenceFlowPlannerSupport.QueryContextPrediction.ContextRequirement init(transcript: IntelligenceFlowProto.TranscriptProtoQueryContextPrediction) throws init(contextRequirement: IntelligenceFlowPlannerSupport.QueryContextPrediction.ContextRequirement) }