Skip to content

Instantly share code, notes, and snippets.

@ben-ogden
Created May 17, 2023 22:48
Show Gist options
  • Save ben-ogden/28354ae3c8f36648b5a0952f5a93af17 to your computer and use it in GitHub Desktop.
Save ben-ogden/28354ae3c8f36648b5a0952f5a93af17 to your computer and use it in GitHub Desktop.
Pinecone & Streamlit Environment Setup

Pinecone & Streamlit Setup

Install the pinecone-client and streamlit

From within the project directory, run-

pipenv shell
pip install --upgrade pinecone-client streamlit
streamlit version

Streamlit, version 1.22.0

Create a Secrets File (if used by your application)

Create a secrets file in ~/.streamlit/secrets.toml and set your PINECONE_KEY and PINECONE_ENV

PINECONE_KEY = "..."
PINECONE_ENV = ".."

Happy Searching!

streamlit run your-app.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment