@@ -416,7 +416,7 @@ async def chroma_query_documents(
416416 n_results : int = 5 ,
417417 where : Optional [Dict ] = None ,
418418 where_document : Optional [Dict ] = None ,
419- include : List [str ] = ["documents" , "embeddings" , " metadatas" , "distances" ]
419+ include : List [str ] = ["documents" , "metadatas" , "distances" ]
420420) -> Dict :
421421 """Query documents from a Chroma collection with advanced filtering.
422422
@@ -431,7 +431,7 @@ async def chroma_query_documents(
431431 - Logical AND: {"$and": [{"field1": {"$eq": "value1"}}, {"field2": {"$gt": 5}}]}
432432 - Logical OR: {"$or": [{"field1": {"$eq": "value1"}}, {"field1": {"$eq": "value2"}}]}
433433 where_document: Optional document content filters
434- include: List of what to include in response. By default, this will include documents, embeddings, metadatas, and distances.
434+ include: List of what to include in response. By default, this will include documents, metadatas, and distances.
435435 """
436436 if not query_texts :
437437 raise ValueError ("The 'query_texts' list cannot be empty." )
@@ -455,7 +455,7 @@ async def chroma_get_documents(
455455 ids : Optional [List [str ]] = None ,
456456 where : Optional [Dict ] = None ,
457457 where_document : Optional [Dict ] = None ,
458- include : List [str ] = ["documents" , "embeddings" , " metadatas" ],
458+ include : List [str ] = ["documents" , "metadatas" ],
459459 limit : Optional [int ] = None ,
460460 offset : Optional [int ] = None
461461) -> Dict :
@@ -471,7 +471,7 @@ async def chroma_get_documents(
471471 - Logical AND: {"$and": [{"field1": {"$eq": "value1"}}, {"field2": {"$gt": 5}}]}
472472 - Logical OR: {"$or": [{"field1": {"$eq": "value1"}}, {"field1": {"$eq": "value2"}}]}
473473 where_document: Optional document content filters
474- include: List of what to include in response. By default, this will include documents, embeddings, and metadatas.
474+ include: List of what to include in response. By default, this will include documents, and metadatas.
475475 limit: Optional maximum number of documents to return
476476 offset: Optional number of documents to skip before returning results
477477
0 commit comments