mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
Bagatur/docs nit (#7712)
This commit is contained in:
parent
87d81b6acc
commit
b065da6933
@ -33,18 +33,6 @@
|
|||||||
"from langchain.chat_models import ChatOpenAI"
|
"from langchain.chat_models import ChatOpenAI"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"cell_type": "code",
|
|
||||||
"execution_count": 2,
|
|
||||||
"id": "659b5ed0",
|
|
||||||
"metadata": {},
|
|
||||||
"outputs": [],
|
|
||||||
"source": [
|
|
||||||
"import warnings\n",
|
|
||||||
"\n",
|
|
||||||
"warnings.filterwarnings(\"ignore\")"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 3,
|
"execution_count": 3,
|
||||||
@ -54,8 +42,8 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# Initialize Elasticsearch python client.\n",
|
"# Initialize Elasticsearch python client.\n",
|
||||||
"# See https://elasticsearch-py.readthedocs.io/en/v8.8.2/api.html#elasticsearch.Elasticsearch\n",
|
"# See https://elasticsearch-py.readthedocs.io/en/v8.8.2/api.html#elasticsearch.Elasticsearch\n",
|
||||||
"ELASTIC_SEARCH_SERVER = \"https://elastic:gvODoJ_nRYQIJZfG7=ec@localhost:9200\"\n",
|
"ELASTIC_SEARCH_SERVER = \"https://elastic:pass@localhost:9200\"\n",
|
||||||
"db = Elasticsearch(ELASTIC_SEARCH_SERVER, ca_certs=False, verify_certs=False)"
|
"db = Elasticsearch(ELASTIC_SEARCH_SERVER)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user