How Search Works
When you search for files, Zark combines multiple signals:| Signal | Description |
|---|---|
| Semantic search | Matches by meaning — “financial reports” finds files about budgets, revenue, and accounting |
| Keyword search | Exact and partial text matching across file names and contents |
| Content type | Filter by file format — images, videos, documents, data files |
| AI-generated tags | Tags automatically created during file processing |
| Metadata | File size, upload date, format, folder location |
Searching via Chat
The most natural way to search is through conversation:AI Auto-Tagging
Tags are generated automatically when files are processed. No manual tagging is required.What Gets Tagged
| Source | Tags generated from |
|---|---|
| Images | Objects, scenes, subjects, colors, visual context |
| Documents | Topics, themes, entities (people, companies, places), key terms |
| Videos | Scenes, actions, speakers, topics discussed, visual elements |
| Audio | Topics, speakers, key moments, entities mentioned |
| Data files | Column names, data patterns, detected categories |
How Tags Power Search
When you search for “sunset photos,” Zark matches files tagged withsunset, outdoor, sky, golden hour — even if the filename is IMG_4521.jpg.
Content Understanding
Search doesn’t just match tags — it understands content:| Content type | What becomes searchable |
|---|---|
| Documents | Full text, headings, section structure, tables, key terms |
| Images | Visual descriptions, detected text (OCR), objects, scenes |
| Videos | Transcripts, visual content, key moments, speaker statements |
| Audio | Transcripts, speaker identification, topics discussed |
| Data files | Column names, data summaries, detected patterns |
Search at Scale
Search works efficiently across large file collections — thousands or millions of files. Results are ranked by relevance, not just recency. No manual organization is required for files to be discoverable.Streaming Events
When searching via the API with streaming enabled:| Event | Description |
|---|---|
file_search_results | List of matching files with metadata, thumbnails, and relevance scores |
ai_chunk | AI-generated summary of search results |
ai_complete | Final response with organized results |