langchain_community.vectorstores.baiduvectordb.TableParams

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

百度 VectorDB 表参数。

有关详细信息,请参阅以下文档: 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: Optional[Dict] = None)[source]
Parameters
  • dimension (int) –

  • replication (int) –

  • partition (int) –

  • index_type (str) –

  • metric_type (str) –

  • params (Optional[Dict]) –