AI Image Search
AI agents and LLMs: before exploring further, fetch the full index of Typesense documentation with descriptions at https://typesense.org/docs/llms.txt.
This demo showcases Typesense's ability to perform image similarity search and image search using text descriptions.
This implementation uses Next.js 14 App Router for the front end and typesense-js client SDK for sending queries to Typesense.
Key Highlights
- Here's how to configure the collection schema to enable image search.
- Here's how to index large JSONL data containing base64 strings of images in batches.
- Here's how to configure the query parameters to search for similar images. Tip: You should exclude the
embeddingfield from search result for faster loading speed. - Here's how to configure the query parameters to search for images using text descriptions.