This project is a chatbot application designed to assist with the reading of climate risk and ESG related documentation. In particular, it is useful for learning more about frameworks and protocols such as TCFD, TNFD, EU Taxonomy and GHG Protocol.
- Get a HuggingFace API key
- Make a local directory in the project root called
local_vector_store_hf - Download the TCFD recommendations PDF from their website
- Run
poetry run python -m climate_chatbot.vector_store <path> hfwith the path to the TCFD PDF to populate the vector store with the TCFD recommendations. - Run
poetry run python -m climate_chatbot.chatbot hfto watch it answer a question about transition risk. - Get an OpenAI API key and repeat the above, replacing
hfwithopenai(this will cost small amounts of money, but will be quicker and probably better)
- Blue/green deployment
- Configure AWS sso to enable both of us to deploy
- Terraform - use multiple workspaces
- Git access token for terraform will expire approx end of september
- ec2 status checks pass before terraform completes
- Use commit hash for docker image tag in terraform. Will require input at command line