langchain_community.vectorstores.baiduvectordb
.ConnectionParams¶
- class langchain_community.vectorstores.baiduvectordb.ConnectionParams(endpoint: str, api_key: str, account: str = 'root', connection_timeout_in_mills: int = 50000)[source]¶
百度 VectorDB 连接参数。
有关详细信息,请参见以下文档: https://cloud.baidu.com/doc/VDB/s/6lrsob0wy
- 属性:
endpoint (str) : 客户端需要连接的向量数据库服务器的访问地址。 api_key (str): 用于客户端访问向量数据库服务器的 API 密钥,用于身份验证。 account (str) : 客户端访问向量数据库服务器的账户。 connection_timeout_in_mills (int) : 请求超时时间。
Methods
__init__
(endpoint, api_key[, account, ...])- Parameters
endpoint (str) –
api_key (str) –
account (str) –
connection_timeout_in_mills (int) –