Skip to content

EthicAI (eh·thuh·kl) is the interactive ideation assistant for teachers, lectures, etc. with built-in risk assesment of the idea.

Notifications You must be signed in to change notification settings

TUM-Science-Hack-2023/ethicAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ethicAI

Demo (YouTube Video)

Watch the video on YouTube

Installation

We need these packages:

pip3 install streamlit
pip3 install streamlit-chat
pip3 install streamlit-extras

pip3 install pandas
pip3 install plotly

pip3 install --upgrade openai
pip3 install cohere

You can install all of them using pip install -r requirements.txt.

Running

From the root folder run:

streamlit run Home.py

Secrets

Secrets are the API keys needed to access the LLM APIs (docs). To use them locally, create a .streamlit/secrets.toml file under the project root and add the following contents:

# Everything in this section will be available as an environment variable
# Use thse secret keys with e.g. st.secrets["OPEN_AI_KEY"]

COHERE_KEY = "YOUR KEY GOES HERE"
OPEN_AI_KEY = "YOUR KEY GOES HERE" 
# More keys to deal with rate limits
OPEN_AI_KEY2 = "YOUR KEY GOES HERE" 
OPEN_AI_KEY3 = "YOUR KEY GOES HERE" 
OPEN_AI_KEY4 = "YOUR KEY GOES HERE" 

When hosting on the Streamlit community platform, secrets can be added manually.

About

EthicAI (eh·thuh·kl) is the interactive ideation assistant for teachers, lectures, etc. with built-in risk assesment of the idea.

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages