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

方法

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

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

  • shard (int) –

  • replicas (int) –

  • index_type (str) –

  • metric_type (str) -

  • params (Optional[Dict]) –