Skip to content

feat: Add support for metadata that contains lists of supported types#2877

Open
maxdswain wants to merge 3 commits intodeepset-ai:mainfrom
maxdswain:add-meta-list-chromadb
Open

feat: Add support for metadata that contains lists of supported types#2877
maxdswain wants to merge 3 commits intodeepset-ai:mainfrom
maxdswain:add-meta-list-chromadb

Conversation

@maxdswain
Copy link
Contributor

@maxdswain maxdswain commented Feb 25, 2026

Related Issues

Proposed Changes:

Update validation logic to support lists of supported ChromaDB metadatas types.

How did you test it?

Modified existing tests. I also ran the following script to test that the issue the user mentioned has been fixed:

from haystack import Document

from haystack_integrations.document_stores.chroma import ChromaDocumentStore

doc = Document(content="test", meta={"countries": ["UK", "US"]})

document_store = ChromaDocumentStore()
number = document_store.write_documents([doc])
print(number)

Notes for the reviewer

Checklist

@maxdswain maxdswain requested a review from a team as a code owner February 25, 2026 16:42
@maxdswain maxdswain requested review from sjrl and removed request for a team February 25, 2026 16:42
@CLAassistant
Copy link

CLAassistant commented Feb 25, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chroma - The meta in write_documents only supports str, int, float, bool, but not list. However, its search filter does support list.

2 participants