docs: updates Chroma integration API ref docs (#29826)

- Description: updates Chroma integration API ref docs
- Issue: #29817
- Dependencies: N/A
- Twitter handle: @irieliu

Co-authored-by: “Iris <“liuirisny@gmail.com”>
This commit is contained in:
Iris Liu 2025-02-15 21:05:21 -05:00 committed by GitHub
parent 3fe7c07394
commit 0d9f0b4215
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -301,7 +301,7 @@ class Chroma(VectorStore):
client_settings: Chroma client settings client_settings: Chroma client settings
collection_metadata: Collection configurations. collection_metadata: Collection configurations.
client: Chroma client. Documentation: client: Chroma client. Documentation:
https://docs.trychroma.com/reference/js-client#class:-chromaclient https://docs.trychroma.com/reference/python/client
relevance_score_fn: Function to calculate relevance score from distance. relevance_score_fn: Function to calculate relevance score from distance.
Used only in `similarity_search_with_relevance_scores` Used only in `similarity_search_with_relevance_scores`
create_collection_if_not_exists: Whether to create collection create_collection_if_not_exists: Whether to create collection
@ -1155,7 +1155,7 @@ class Chroma(VectorStore):
ids: List of document IDs. Defaults to None. ids: List of document IDs. Defaults to None.
client_settings: Chroma client settings. client_settings: Chroma client settings.
client: Chroma client. Documentation: client: Chroma client. Documentation:
https://docs.trychroma.com/reference/js-client#class:-chromaclient https://docs.trychroma.com/reference/python/client
collection_metadata: Collection configurations. collection_metadata: Collection configurations.
Defaults to None. Defaults to None.
kwargs: Additional keyword arguments to initialize a Chroma client. kwargs: Additional keyword arguments to initialize a Chroma client.
@ -1224,7 +1224,7 @@ class Chroma(VectorStore):
embedding: Embedding function. Defaults to None. embedding: Embedding function. Defaults to None.
client_settings: Chroma client settings. client_settings: Chroma client settings.
client: Chroma client. Documentation: client: Chroma client. Documentation:
https://docs.trychroma.com/reference/js-client#class:-chromaclient https://docs.trychroma.com/reference/python/client
collection_metadata: Collection configurations. collection_metadata: Collection configurations.
Defaults to None. Defaults to None.
kwargs: Additional keyword arguments to initialize a Chroma client. kwargs: Additional keyword arguments to initialize a Chroma client.