26 declarations · 267 ms
extension IntelligenceFlowPlannerSupport.AgentInputMode: Swift.Hashableextension IntelligenceFlowPlannerSupport.AgentInputMode: Swift.Equatableextension IntelligenceFlowPlannerSupport.AgentInputMode: Swift.Decodableextension IntelligenceFlowPlannerSupport.AgentInputMode: Swift.RawRepresentableextension IntelligenceFlowPlannerSupport.AgentInputMode: Swift.Encodablevar agentInputMode: IntelligenceFlowPlannerSupport.AgentInputMode { get }static agentInputMode(requestContent: IntelligenceFlowPlannerSupport.RequestContent) -> IntelligenceFlowPlannerSupport.AgentInputModelet agentInputMode: IntelligenceFlowPlannerSupport.AgentInputModelet agentInputMode: IntelligenceFlowPlannerSupport.AgentInputModestatic agentInputMode(inputOrigin: String) -> IntelligenceFlowPlannerSupport.AgentInputModestatic agentInputMode(requestEvent: IntelligenceFlowPlannerSupport.Session.Event) -> IntelligenceFlowPlannerSupport.AgentInputModelet agentInputMode: IntelligenceFlowPlannerSupport.AgentInputModelet agentInputMode: IntelligenceFlowPlannerSupport.AgentInputModelet agentInputMode: IntelligenceFlowPlannerSupport.AgentInputModestatic calculateSystemPromptModalityKey(inputMode: IntelligenceFlowPlannerSupport.AgentInputMode, responseMode: IntelligenceFlowPlannerSupport.AgentResponseMode, invocationSource: IntelligenceFlowShared.StructuredContext.SiriRequestContext.InvocationSource?, preferencesProvider: IntelligenceFlowPlannerSupport.PreferencesProvider) -> IntelligenceFlowPlannerSupport.InvocationModalityKeystatic calculateToolsModalityKey(inputMode: IntelligenceFlowPlannerSupport.AgentInputMode, responseMode: IntelligenceFlowPlannerSupport.AgentResponseMode, invocationSource: IntelligenceFlowShared.StructuredContext.SiriRequestContext.InvocationSource?, preferencesProvider: IntelligenceFlowPlannerSupport.PreferencesProvider) -> IntelligenceFlowPlannerSupport.InvocationModalityKeystatic generatePrerequestToolCallPairs(using: IntelligenceFlowProto.PlannerToolMetadata_SystemPromptData, inputMode: IntelligenceFlowPlannerSupport.AgentInputMode, responseMode: IntelligenceFlowPlannerSupport.AgentResponseMode, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, promptRenderingContext: IntelligenceFlowPlannerSupport.PromptRenderingContext, userContext: IntelligenceFlowShared.UserContext?, contextPromptRenderer: IntelligenceFlowPlannerRuntime.ContextPromptRenderer, previousSpanMatchEntities: [IntelligenceFlowShared.SpanMatchedEntity], currentSpanMatchEntities: [IntelligenceFlowShared.SpanMatchedEntity], spanMatchingPromptRenderer: IntelligenceFlowPlannerRuntime.SpanMatchPromptRenderer, mitigationFeatureEnabled: Bool, prerequestTemplateAdditionalInput: IntelligenceFlowPlannerRuntime.PrerequestTemplateAdditionalInput, renderedConversationFragments: String?, gazeCoordinates: IntelligenceFlowPlannerSupport.GazeCoordinates?, userUtterance: String?, mode: IntelligenceFlowPlannerRuntime.PlannerServiceMode) async throws -> (payloads: [IntelligenceFlowPlannerSupport.Session.Event.Payload], templateContextAutoGenerateToolCall: IntelligenceFlowPlannerRuntime.TemplateContextAutoGenerateToolCall?)getRetrievedPlannerTools(query: String, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, includeQueryContext: Bool, userContext: IntelligenceFlowShared.UserContext?, useSystemToolClassifier: Bool, agentInputMode: IntelligenceFlowPlannerSupport.AgentInputMode, agentResponseMode: IntelligenceFlowPlannerSupport.AgentResponseMode) async throws -> IntelligenceFlowShared.QueryDecorationToolRetrievalResponse?init(agentInputMode: IntelligenceFlowPlannerSupport.AgentInputMode, agentResponseMode: IntelligenceFlowPlannerSupport.AgentResponseMode) -> IntelligenceFlowPlannerRuntime.QueryAugmentationServiceContextinit(limit: Int?, retrieveSystemTools: Bool, localBundleIDs: Set<String>, deviceID: String?, includedPlannerToolIds: Set<String>, excludedToolIds: Set<String>, useSystemToolClassifier: Bool, agentInputMode: IntelligenceFlowPlannerSupport.AgentInputMode, agentResponseMode: IntelligenceFlowPlannerSupport.AgentResponseMode, siriRequestContext: IntelligenceFlowShared.StructuredContext.SiriRequestContext?, locale: Foundation.Locale?) -> IntelligenceFlowPlannerSupport.ToolQueryScopeIntelligenceFlowPlannerRuntime.DefaultPlanningStepContext.__allocating_init(enityMappings: IntelligenceFlowPlannerSupport.EntityMappings, agentOutputPublisher: IntelligenceFlowPlannerSupport.AgentOutputPublisher, hydrationService: IntelligenceFlowPlannerSupport.HydrationServiceProtocol, entityService: EntityService.HydratedEntityProviding, concurrencySafeToolExecutionSession: IntelligenceFlowPlannerSupport.ConcurrencySafeToolExecutionInterface, statementIdCounter: IntelligenceFlowPlannerSupport.Session.StatementIdCounter, requestEvent: IntelligenceFlowPlannerSupport.Session.Event, localeSettings: IntelligenceFlow.LocaleSettings, relevantRetrievedPlannerTools: [IntelligenceFlowPlannerSupport.RetrievedPlannerTool], dateTimeContext: IntelligenceFlowPlannerSupport.DateTimeContext, requestContext: IntelligenceFlowShared.StructuredContext.SiriRequestContext?, carPlayPrescribedAppBundleId: String?, selectedUser: IntelligenceFlowShared.User?, userSelectorSelectedUser: IntelligenceFlowShared.User?, homeMembersInfo: IntelligenceFlowShared.HomeMembersInfo?, originatingDevice: IntelligenceFlow.DeviceDetails?, isRemotePlanningSession: Bool, userUtterance: String?, agentInputMode: IntelligenceFlowPlannerSupport.AgentInputMode, agentResponseMode: IntelligenceFlowPlannerSupport.AgentResponseMode, safetyInformation: IntelligenceFlow.SafetyInformation, mitigationDecisionMade: Bool, activeAgentFunctionCallId: IntelligenceFlow.StatementID?, prescribedAction: IntelligenceFlowPlannerSupport.PrescribedAction?, queryAugmentationService: IntelligenceFlowPlannerRuntime.QueryAugmentationService, appSchemaResolver: IntelligenceFlowPlannerRuntime.AppResolverClient, toolbox: IntelligenceFlowPlannerSupport.Toolbox, agentFunctionCallUuid: String?, templateContextAutoGenerateToolCall: IntelligenceFlowPlannerRuntime.TemplateContextAutoGenerateToolCall?, emergencySpans: [IntelligenceFlowPlannerSupport.EmergencyServiceSpan], siriDeviceRoutingOffers: IntelligenceFlowPlannerSupport.SiriDeviceRoutingOffers?, voiceAttributes: [IntelligenceFlow.VoiceAttribute]?, plannerToolbox: IntelligenceFlowPlannerSupport.PlannerToolbox, imageRetrievalResponses: [IntelligenceFlowPlannerSupport.ImageRetrievalResponse], imageCaptureAndRetrievalService: IntelligenceFlowPlannerRuntime.DefaultImageCaptureAndRetrievalService?, lastImageCaptureRequest: IntelligenceFlowPlannerSupport.ImageCaptureRequest?, toolboxInput: IntelligenceFlowPlannerRuntime.PlannerPlatformToolboxInput, contextRetrieved: IntelligenceFlowPlannerSupport.ContextRetrieved?, deviceAuthenticationState: IntelligenceFlowShared.DeviceAuthenticationState, isFirstTurnOfConversation: Bool, hasPriorFindToolCall: Bool, hasPriorModelToolCall: Bool, hasAskUserToPickSinceUserRequest: Bool, findToolCallCount: Int, featureFlagProvider: IntelligenceFlowShared.FeatureFlagProvider, preferencesProvider: IntelligenceFlowPlannerSupport.PreferencesProvider, userContext: IntelligenceFlowShared.UserContext?, userContextResolver: IntelligenceFlowPlannerRuntime.UserContextResolver?, queryContextPrediction: IntelligenceFlowPlannerSupport.QueryContextPrediction?, annotations: IntelligenceFlowPlannerRuntime.PlanningStepAnnotations, guestModeAllowedBundleIds: Set<String>?, appExclusionService: IntelligenceFlowShared.AppExclusionProviding, spanMatchedEntities: [IntelligenceFlowShared.SpanMatchedEntity], outputGuardrail: IntelligenceFlowPlannerRuntime.OutputGuardrail?, provenanceRegistry: IntelligenceFlowPlannerRuntime.ProvenanceRuntimeContext.Registry, isAnnounceActivatedSession: Bool, searchDedupRecorder: IntelligenceFlowPlannerSupport.SearchDedupRecorder?) -> IntelligenceFlowPlannerRuntime.DefaultPlanningStepContextinit(inputMode: IntelligenceFlowPlannerSupport.AgentInputMode, responseMode: IntelligenceFlowPlannerSupport.AgentResponseMode) -> IntelligenceFlowPlannerSupport.InvocationModalityKeystatic isTextDisplay(inputMode: IntelligenceFlowPlannerSupport.AgentInputMode, responseMode: IntelligenceFlowPlannerSupport.AgentResponseMode) -> Boolstatic isVoiceDisplay(inputMode: IntelligenceFlowPlannerSupport.AgentInputMode, responseMode: IntelligenceFlowPlannerSupport.AgentResponseMode) -> BoolretrieveSystemPlannerTools(currentQuery: String, apps: IntelligenceFlowPlannerRuntime.RelevantAppSet?, appEntities: Set<ToolKit.TypedValue>, requestId: String?, limit: Int?, useSystemToolClassifier: Bool, agentInputMode: IntelligenceFlowPlannerSupport.AgentInputMode, agentResponseMode: IntelligenceFlowPlannerSupport.AgentResponseMode) async throws -> IntelligenceFlowShared.QueryDecorationToolRetrievalResponse?method descriptor for retrieveSystemPlannerTools(currentQuery: String, apps: IntelligenceFlowPlannerRuntime.RelevantAppSet?, appEntities: Set<ToolKit.TypedValue>, requestId: String?, limit: Int?, useSystemToolClassifier: Bool, agentInputMode: IntelligenceFlowPlannerSupport.AgentInputMode, agentResponseMode: IntelligenceFlowPlannerSupport.AgentResponseMode) async throws -> IntelligenceFlowShared.QueryDecorationToolRetrievalResponse?