langchain_community.vectorstores.baiduvectordb.TableParams

class langchain社区.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

方法

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

参数
  • 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]
参数
  • dimension (int) –

  • replication (int) –

  • partition (int) –

  • index_type (str) –

  • metric_type (str) –

  • params (Optional[Dict]) –