TableParams#

class langchain_community.vectorstores.baiduvectordb.TableParams(dimension: int, replication: int = 3, partition: int = 1, index_type: str = 'HNSW', metric_type: str = 'L2', params: Dict | None = None)[source]#

百度向量数据库表参数。

详情请参阅以下文档: https://cloud.baidu.com/doc/VDB/s/mlrsob0p6

方法

__init__(dimension[, replication, ...])

Parameters:
  • 维度 (整数)

  • replication (int)

  • partition (int)

  • index_type (str)

  • metric_type (str)

  • params (可选[字典])

__init__(dimension: int, replication: int = 3, partition: int = 1, index_type: str = 'HNSW', metric_type: str = 'L2', params: Dict | None = None)[source]#
Parameters:
  • 维度 (整数)

  • replication (int)

  • partition (int)

  • index_type (str)

  • metric_type (str)

  • params (Dict | None)