SwiftextensionIntelligenceFlowPlannerRuntime

extension IntelligenceFlow.FunBenchAir.Context

Structure

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

Members 9

  1. funcevaluate(tool: ToolKit.ToolDefinition, transcript: IntelligenceFlowPlannerSupport.Session.Transcript, action: IntelligenceFlow.Action?) async throws -> IntelligenceFlowPlannerRuntime.RequirementStatus
  2. funcfetchUserContext() async throws -> IntelligenceFlowShared.UserContext
  3. funcfindMatches(query: String, matcherOverrides: Set<IntelligenceFlowShared.EntityMatcherType>?) async throws -> [IntelligenceFlowShared.SpanMatchedEntity]
  4. funcsharedRetrieveContext() async -> IntelligenceFlowPlannerRuntime.RetrieveContextProtocol
  5. funcsharedRetrieveContextSync() -> IntelligenceFlowPlannerRuntime.RetrieveContextProtocol
  6. funcshouldOverrideWrapperTool(underlyingPlannerTool: IntelligenceFlowPlannerSupport.PlannerTool) async -> Bool
  7. funcsimulatedSearchSPIFromAgent(requestId: Foundation.UUID, action: IntelligenceFlow.Action, originTaskStatementId: IntelligenceFlow.StatementID, searchToolId: String) async throws -> IntelligenceFlowPlannerSupport.SearchAgentClientResponse
  8. funcsimulatedWrapperToolCall(planningStepContext: IntelligenceFlowPlannerRuntime.PlanningStepContext, agentFunctionCall: IntelligenceFlow.AgentFunctionCall) async throws -> IntelligenceFlowPlannerSupport.PlannerToolOutput
  9. varvar isDeviceUnlocked: Bool { get }
extension IntelligenceFlow.FunBenchAir.Context {
    struct SearchSPIInput {
        enum CodingKeys {
            case queries
            case tools_parameters
            case apps
            case raw_user_query
            case entity_types
            case is_final_goal
            case purpose
        }
        let queries: [Swift.String]
        let tools_parameters: [[Swift.String]]?
        let apps: [Swift.String]?
        let raw_user_query: Swift.String?
        let entity_types: [Swift.String]?
        let is_final_goal: Swift.Bool
        let purpose: Swift.String?
    }
    var isDeviceUnlocked: Swift.Bool {
        get
    }

    func sharedRetrieveContext() async -> any IntelligenceFlowPlannerRuntime.RetrieveContextProtocol
    func sharedRetrieveContextSync() -> any IntelligenceFlowPlannerRuntime.RetrieveContextProtocol
    func fetchUserContext() async throws -> IntelligenceFlowShared.UserContext
    func findMatches(query: Swift.String, matcherOverrides: Swift.Set<IntelligenceFlowShared.EntityMatcherType>?) async throws -> [IntelligenceFlowShared.SpanMatchedEntity]
    func simulatedWrapperToolCall(planningStepContext: any IntelligenceFlowPlannerRuntime.PlanningStepContext, agentFunctionCall: IntelligenceFlow.AgentFunctionCall) async throws -> IntelligenceFlowPlannerSupport.PlannerToolOutput
    func shouldOverrideWrapperTool(underlyingPlannerTool: any IntelligenceFlowPlannerSupport.PlannerTool) async -> Swift.Bool
    func simulatedSearchSPIFromAgent(requestId: Foundation.UUID, action: IntelligenceFlow.Action, originTaskStatementId: IntelligenceFlow.StatementID, searchToolId: Swift.String) async throws -> IntelligenceFlowPlannerSupport.SearchAgentClientResponse
    func evaluate(tool: ToolKit.ToolDefinition, transcript: IntelligenceFlowPlannerSupport.Session.Transcript, action: IntelligenceFlow.Action?) async throws -> IntelligenceFlowPlannerRuntime.RequirementStatus
}