ConnectionParams#

class langchain_community.vectorstores.baiduvectordb.ConnectionParams(endpoint: str, api_key: str, account: str = 'root', connection_timeout_in_mills: int = 50000)[source]#

Baidu VectorDB Connection params.

See the following documentation for details: https://cloud.baidu.com/doc/VDB/s/6lrsob0wy

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

that the client needs to connect to.

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

which is used for authentication.

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

Methods

__init__(endpoint, api_key[, account, ...])

Parameters:
  • endpoint (str)

  • api_key (str)

  • account (str)

  • connection_timeout_in_mills (int)

__init__(endpoint: str, api_key: str, account: str = 'root', connection_timeout_in_mills: int = 50000)[source]#
Parameters:
  • endpoint (str)

  • api_key (str)

  • account (str)

  • connection_timeout_in_mills (int)

Examples using ConnectionParams