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