mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-24 15:43:54 +00:00
Update pinecone init details in docs (#898)
PR to fix outdated environment details in the docs, see issue #897 I added code comments as pointers to where users go to get API keys, and where they can find the relevant environment variable.
This commit is contained in:
parent
7658263bfb
commit
8217a2f26c
@ -483,7 +483,10 @@
|
|||||||
"import pinecone \n",
|
"import pinecone \n",
|
||||||
"\n",
|
"\n",
|
||||||
"# initialize pinecone\n",
|
"# initialize pinecone\n",
|
||||||
"pinecone.init(api_key=\"\", environment=\"us-west1-gcp\")\n",
|
"pinecone.init(\n",
|
||||||
|
" api_key=\"YOUR_API_KEY\", # find at app.pinecone.io\n",
|
||||||
|
" environment=\"YOUR_ENV\" # next to api key in console\n",
|
||||||
|
")\n",
|
||||||
"\n",
|
"\n",
|
||||||
"index_name = \"langchain-demo\"\n",
|
"index_name = \"langchain-demo\"\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user