Add method to add images with b64_texts as parameter to libs/partners/chroma/langchain_chroma/vectorstores.py #23608
magallardo
announced in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
The current Chroma class has add_images method which takes uris: List[str] as parameter.
It will be helpful if there will be an operation that takes b64_texts as parameter instead of the uris.
In most use cases, the images are extracted from pdf files as b64 so no uri available to pass to the add image method of Chroma.
If there is a way around, please suggest. It would not be optimal to save the b64 images to file first in order to pass the uri.
Thanks,
Marcelo
Motivation
In most use cases, the images are extracted from pdf files as b64 so no uri available to pass to the add image method of Chroma.
Proposal (If applicable)
Just add another method that takes base64 text as input instead of uris
Beta Was this translation helpful? Give feedback.
All reactions