@zooly/likeness-search is a comprehensive package that provides likeness search capabilities, indexing functionality, and AI-powered tag generation from images and voice samples. It enables searching for accounts based on visual and audio likeness characteristics.
@zooly/likeness-searchpackages/likeness-searchsearchLikeness - Search for multiple likeness matchesvectorFallbackSearch - Vector-based fallback searchformatSearchResults - Format search results for displayupsertToIndex - Add or update account data in the search indexremoveFromIndex - Remove account data from the search indexindexingDaemon - Background daemon for processing indexing eventsprocessIndexingEvent - Process individual indexing eventsgenerateTagsFromImage - Generate tags from images using AIgenerateTagsFromVoice - Generate tags from voice samples using AIaggregateAccountTags - Aggregate and normalize tags for vector searchtriggerAITagGeneration - Trigger AI tag generation processvalidateAudioUrl - Validate audio URLs (rejects video platforms)validateAudioContentType - Validate audio blob content typesElevenLabs voice operations (addVoice, deleteVoice, getVoice, generateVoiceForText, createVoiceSample) should be imported directly from @zooly/util-elevenlabs. See the Util ElevenLabs documentation for details.
validateAudioUrl - Validate audio URLshandleApiError - Error handling with retry logictriggerSocialScraping - Trigger social media scrapingtriggerDataCollection - Trigger data collection processesEmbedding generation (generateEmbedding) has been moved to @zooly/util-srv for reuse across packages. See the Util Server documentation for details.
@zooly/app-db - Database access layer@zooly/types - Shared types@zooly/util - Shared utilities@zooly/util-srv - Server-side utilities (S3 operations)@zooly/util-elevenlabs - ElevenLabs voice operations@ai-sdk/google / @ai-sdk/openai - AI SDK providers@aws-sdk/client-s3 - S3 operationsai - AI SDK corezod - Schema validationThis package is used by the main app to provide likeness search functionality. It handles the complex process of indexing account data, generating AI tags, and performing similarity searches based on visual and audio characteristics.