← 返回
内容创作 中文

PhotoCHAT Photo Search

Search for photos in PhotoCHAT using natural language via the CLI. Use when the user asks to find, search for, or locate photos/pictures/images using PhotoCH...
通过CLI使用自然语言在PhotoCHAT中搜索照片。当用户请求使用PhotoCHAT查找、搜索或定位照片/图片/图像时使用。
photochat
内容创作 clawhub v1.0.0 1 版本 99875.3 Key: 无需
★ 1
Stars
📥 781
下载
💾 40
安装
1
版本
#latest

概述

PhotoCHAT CLI Search

Search the user's photo library using PhotoCHAT's natural language search CLI.

Command

photochat search [options] <natural language query>

Uses the MSIX-packaged photochat app execution alias (v0.6.0+).

Options

FlagPurposeDefault
------------------------
--jsonMachine-readable JSON outputoff
--limit NMax results5
--show-filtersPrint parsed face/date/exclusion filtersoff
--show-scoresInclude similarity scores in plain textoff
--profile NAMEForce-include a face profilenone
--day-firstParse ambiguous dates as DD/MMoff
--dry-runParse query only, skip retrievaloff

Workflow

  1. Run search with --json, --day-first, and a reasonable --limit:
photochat search --json --day-first --limit 10 show me a photo of sarah at the beach
  1. Parse JSON output:
{
  "query": "original query text",
  "intent": {
    "cleaned_query": "processed query",
    "face_filters": ["sarah"],
    "date_range": null,
    "exclude_terms": []
  },
  "total_results": 25,
  "returned_results": 5,
  "results": [
    { "rank": 1, "path": "I:/Pictures/.../photo.JPG", "score": 0.55 }
  ]
}
  1. Present results:
    • Show file paths and match count (returned vs total)
    • To display a photo, use the image tool with the path from results
    • Scores above 0.4 are decent; above 0.5 is a strong match
    • If zero results, suggest simplifying the query or check filters with --show-filters

Query Capabilities

The parser handles rich natural language:

  • Faces: "Sarah at the beach" auto-filters face profile "Sarah"
  • Dates: "from 2021", "in March", "before 2015", "from Mar 21"
  • Exclusions: "without Matt" excludes face or concept
  • Mood/style: "photos that feel cozy and warm", "vintage film look"
  • Combos: "Bella standing next to a tall building from Mar 21"

For more examples, read references/search-examples.txt.

Important

  • Always use --day-first (Australian date format DD/MM)
  • Always use --json for parseable output
  • Default --limit 5 unless user asks for more
  • First search takes 10-30s (model loading); use 60s timeout on first call
  • Result paths are absolute file paths; pass directly to the image tool

Exit Codes

CodeMeaning
---------------
0Success (includes zero-result searches)
2Argument/usage error
3Runtime/model init failure
4Storage init/access failure
5Unexpected failure

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 05:32 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,084
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,509
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,942