langchain_elasticsearch.client
.create_elasticsearch_client¶
- langchain_elasticsearch.client.create_elasticsearch_client(url: Optional[str] = None, cloud_id: Optional[str] = None, api_key: Optional[str] = None, username: Optional[str] = None, password: Optional[str] = None, params: Optional[Dict[str, Any]] = None) Elasticsearch [source]¶
- 参数
url (可选str) –
cloud_id (可选str) –
api_key (可选str) –
username (可选str) –
password (可选str) –
params (可选dict[str, Any]) –
- 返回类型
Elasticsearch