Bagatur/docs nit (#7712)

pull/7718/head
Bagatur 1 year ago committed by GitHub
parent 87d81b6acc
commit b065da6933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save