Build a Text and Image Search App with Astra DB Vector Search, NodeJS, Stargate’s New JSON API, and Stargate-Mongoose
This text describes a simple way to build a NodeJS application with DataStax Astra DB vector search support using the Mongoose driver stargate-mongoose and Stargate's new JSON API. The author, a new engineer at DataStax Stargate, developed a photography app called Photography-Site that incorporates AI through vector similarity search. The application uses the OpenAI embedding API to generate text embedding vectors and Google MediaPipe for image embedding vectors. It supports basic functionality such as image browsing by categories, exploring latest images, showing random images, adding images, and searching an image by name. The app also enables searching photos by text similarity and image similarity search using vector search capabilities in Astra DB.
Company
DataStax
Date published
Sept. 6, 2023
Author(s)
Yuqi Du
Word count
972
Language
English
Hacker News points
None found.