mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +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",
|
||||
"\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",
|
||||
"index_name = \"langchain-demo\"\n",
|
||||
"\n",
|
||||
|
Loading…
Reference in New Issue
Block a user