Giter Club home page Giter Club logo

greentechguardians's Introduction

GreenTechGuardians

A Circular Economy business idea evaluator tool built using Gen-AI.

Set-up

  • 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) or python -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 .env file 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 run the final application

  • To just run the final application, please ask us for the Pinecone API Key
  • In the terminal, run streamlit run app.py

Using the App with Dataset

  • If are using a test dataset, place the dataset csv file at the root folder of the project
  • Run python3 data_extraction_script.py to extract information using GPT-4 API and move it to the outputs/ folder. There is already a extracted dataset called outputs/extracted_data_training_dataset.jsonl for the training dataset. Rename the target dataset name in the code as needed.
  • Run python3 semantic_search/create_search_engine.py to 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 in app.py as same as your actual Pinecone index.
  • If you run into additional problems, please feel free to contact us.

Contact Info

greentechguardians's People

Stargazers

 avatar Michael avatar Andy Lee avatar

Watchers

Andy Lee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.