Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Multimodal image storage and retrieval with Chroma

In this sample, you'll learn how to use Chroma to store images and their embeddings and later retrieve images based on similarity search on a keyword.

You can see the full sample in main.py.

Add images

First, add the images in images folder to ChromaDB:

python main.py --folder_path=../images

Retrieve images

Now, retrieve an image with a keyword:

python main.py --keyword="stadium"

You should now see the picture of Colosseum.

References