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]#

Baidu VectorDB table params.

See the following documentation for details: https://cloud.baidu.com/doc/VDB/s/mlrsob0p6

Methods

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

Parameters:
  • dimension (int)

  • replication (int)

  • partition (int)

  • index_type (str)

  • metric_type (str)

  • params (Optional[Dict])

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

  • replication (int)

  • partition (int)

  • index_type (str)

  • metric_type (str)

  • params (Dict | None)