langchain_community.vectorstores.tencentvectordb.ConnectionParams¶

class langchain_community.vectorstores.tencentvectordb.ConnectionParams(url: str, key: str, username: str = 'root', timeout: int = 10)[source]¶

Tencent vector DB Connection params.

See the following documentation for details: https://cloud.tencent.com/document/product/1709/95820

Attribute:
url (str)The access address of the vector database server

that the client needs to connect to.

key (str): API key for client to access the vector database server,

which is used for authentication.

username (str) : Account for client to access the vector database server. timeout (int) : Request Timeout.

Methods

__init__(url, key[, username, timeout])

Parameters
  • url (str) –

  • key (str) –

  • username (str) –

  • timeout (int) –

__init__(url: str, key: str, username: str = 'root', timeout: int = 10)[source]¶
Parameters
  • url (str) –

  • key (str) –

  • username (str) –

  • timeout (int) –

Examples using ConnectionParams¶