IndexParams#

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

Tencent vector DB Index params.

See the following documentation for details: 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: Dict | None = None)[source]#
Parameters:
  • dimension (int) –

  • shard (int) –

  • replicas (int) –

  • index_type (str) –

  • metric_type (str) –

  • params (Dict | None) –