langchain_community.vectorstores.tencentvectordb.IndexParams

class langchain_community.vectorstores.tencentvectordb.IndexParams(dimension: int, shard: int = 1, replicas: int = 2, index_type: str = 'HNSW', metric_type: str = 'L2', params: Optional[Dict] = None)[source]

腾讯向量数据库索引参数。

有关详细信息,请参阅以下文档: https://cloud.tencent.com/document/product/1709/95826

Methods

__init__(dimension[, shard, replicas, ...])

Parameters
  • dimension (int) –

  • shard (int) –

  • replicas (int) –

  • index_type (str) –

  • metric_type (str) –

  • params (Optional[Dict]) –

__init__(dimension: int, shard: int = 1, replicas: int = 2, index_type: str = 'HNSW', metric_type: str = 'L2', params: Optional[Dict] = None)[source]
Parameters
  • dimension (int) –

  • shard (int) –

  • replicas (int) –

  • index_type (str) –

  • metric_type (str) –

  • params (Optional[Dict]) –