This is an app using Streamlit + Langchain + ChatGPT to search for bookmarks according to user input.
To install the application, follow these steps:
- create a conda environment with
python=3.11
or simply use a environment withpython=3.11
- install the requirements with
pip install -r requirements.txt
- in
.bashrc
add the following lines to set system environment variables:
export OPENAI_API_KEY="YOUR_OPENAI_API_KEY"
export PINECONE_API_KEY="YOUR_PINECONE_API_KEY"
export PINECONE_ENVIRONMENT="gcp-starter" # gcp-starter for Pinecone free tier
To use the application, do the following:
- change the value of
index_name
inapp.py
to your own Pinecone index name - run the app with
streamlit run app.py
- click the url that appears in the terminal or it automatically opens in your browser
- ask for a bookmark