Skip to content

Commit

Permalink
Update pinecone init details in docs (#898)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jamescalam authored Feb 5, 2023
1 parent 7658263 commit 8217a2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/modules/utils/combine_docs_examples/vectorstores.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8217a2f

Please sign in to comment.