A Circular Economy business idea evaluator tool built using Gen-AI.
- Clone the repository:
git clone https://github.com/techandy42/GreenTechGuardians.git - Naivagate into the repository:
cd GreenTechGuardians - Set-up virtual environment:
python3 -m venv env(Mac/Linux) orpython -m venv env(Windows) - Activate the virtual environment:
source env/bin/activate(Mac/Linux) or.\env\Scripts\activate(Windows) - Install packages:
pip install -r requirements.txt - Create
.envfile in the root folder of the project - Add
OPENAI_API_KEY=environment variable with your OpenAI API Key - Add
PINECONE_API_KEY=environment variable with your Pinecone API Key
- To just run the final application, please ask us for the Pinecone API Key
- In the terminal, run
streamlit run app.py
- If are using a test dataset, place the dataset csv file at the root folder of the project
- Run
python3 data_extraction_script.pyto extract information using GPT-4 API and move it to theoutputs/folder. There is already a extracted dataset calledoutputs/extracted_data_training_dataset.jsonlfor the training dataset. Rename the target dataset name in the code as needed. - Run
python3 semantic_search/create_search_engine.pyto create an index in Pinecone. Change the name of the source extracted jsonl file as needed. - Run
streamlit run app.py. Rename the jsonl file name as needed. Make sure you name the Pinecone index inapp.pyas same as your actual Pinecone index. - If you run into additional problems, please feel free to contact us.
- Andy Lee: [email protected]
- Malinda Lu: [email protected]
- Serena Pei: [email protected]
- Yongan Yu: [email protected]