Skip to content

VisionGrep 0.2.0

Choose a tag to compare

@udayj udayj released this 11 Sep 11:29
· 38 commits to main since this release

Run multiple searches in one process with the new serve --stdio command:

visiongrep serve --stdio --index-path photos.db ./photos

Send one JSON request per line through stdin and receive one JSON response per line on stdout:

{"id":"search-1","query":"a dog on a beach","top":10}
{"id":"search-2","image":"./reference.jpg","top":5}
  • Supports text and image searches, optional request IDs, result limits, and similarity thresholds.
  • Keeps the database connection open and reuses text and vision model sessions after their first use.
  • Refreshes the image index before every search to pick up added, modified, and deleted images.
  • Flushes each response immediately. Invalid requests return an error response so subsequent requests can continue.

Close stdin to end the server. Existing one-shot search commands remain available.