Upgrade the chromadb version to 0.4.8 and open its settings configuration. (#517)
This commit is contained in:
@@ -35,6 +35,7 @@ class CustomAppConfig(BaseAppConfig):
|
||||
collect_metrics: Optional[bool] = None,
|
||||
db_type: VectorDatabases = None,
|
||||
es_config: ElasticsearchDBConfig = None,
|
||||
chroma_settings: dict = {},
|
||||
):
|
||||
"""
|
||||
:param log_level: Optional. (String) Debug level
|
||||
@@ -51,6 +52,7 @@ class CustomAppConfig(BaseAppConfig):
|
||||
:param collect_metrics: Defaults to True. Send anonymous telemetry to improve embedchain.
|
||||
:param db_type: Optional. type of Vector database to use.
|
||||
:param es_config: Optional. elasticsearch database config to be used for connection
|
||||
:param chroma_settings: Optional. Chroma settings for connection.
|
||||
"""
|
||||
if provider:
|
||||
self.provider = provider
|
||||
@@ -73,6 +75,7 @@ class CustomAppConfig(BaseAppConfig):
|
||||
db_type=db_type,
|
||||
vector_dim=CustomAppConfig.get_vector_dimension(embedding_function=embedding_fn),
|
||||
es_config=es_config,
|
||||
chroma_settings=chroma_settings,
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user