SwiftprotocolSiriAutoCompleteAPI

protocol SiriAutoCompleteAPI.SiriAutoCompleteService

Members 9

  1. funcmethod descriptor for addPhrasesToVectorDB(vectorSearchAssets: SiriAutoCompleteAPI.VectorSearchAssets, deactivateWriteClientAfter: Bool) async -> Int
  2. funcmethod descriptor for autoCompleteResults(for: String, using: String) async throws -> SiriAutoCompleteAPI.AutoCompleteResult
  3. funcmethod descriptor for coolDownWriteDBClient() async -> ()
  4. funcmethod descriptor for deletePhrasesForApp(bundleIds: [String]) async -> Bool
  5. funcmethod descriptor for deletePhrasesForSource(source: SiriAutoCompleteAPI.AutoCompletePhraseSource, deactivateWriteClientAfter: Bool) async -> ()
  6. funcmethod descriptor for dropDB() async throws -> ()
  7. funcmethod descriptor for fetchPhrasesMatching(filters: [VectorSearch.VectorDatabaseFilter]) async -> [SiriAutoCompleteAPI.AutoCompletePhrase]
  8. funcmethod descriptor for increaseTapCountForPhrase(phrase: String) async -> ()
  9. funcmethod descriptor for insertPhrasesForAssistantSuggestions(phrases: [SiriAutoCompleteAPI.AutoCompletePhrase]) async -> ()
protocol SiriAutoCompleteService {
    func addPhrasesToVectorDB(vectorSearchAssets: SiriAutoCompleteAPI.VectorSearchAssets, deactivateWriteClientAfter: Swift.Bool) async -> Swift.Int
    func autoCompleteResults(for: Swift.String, using: Swift.String) async throws -> SiriAutoCompleteAPI.AutoCompleteResult
    func insertPhrasesForAssistantSuggestions(phrases: [SiriAutoCompleteAPI.AutoCompletePhrase]) async
    func deletePhrasesForSource(source: SiriAutoCompleteAPI.AutoCompletePhraseSource, deactivateWriteClientAfter: Swift.Bool) async
    func deletePhrasesForApp(bundleIds: [Swift.String]) async -> Swift.Bool
    func increaseTapCountForPhrase(phrase: Swift.String) async
    func fetchPhrasesMatching(filters: [VectorSearch.VectorDatabaseFilter]) async -> [SiriAutoCompleteAPI.AutoCompletePhrase]
    func dropDB() async throws
    func coolDownWriteDBClient() async
}