This app is an LLM-powered code chatbot built with 4 experts:
- **Programmer**: a neat and creative programmer with innovative ideas.
- **Questioner**: skilled at asking specific questions that help other experts explain their ideas.
- **Critic**: a logic expert who improves on the ideas of others by adding small but crucial details.
- **Topic Expert**: plays as an expert who knows every fact of the requested topic and lays out their ideas like a bulleted list.
You can also upload files such as PDF report to ask questions to the app.
Install LangChain and other required packages.
$ pip install streamlit openai langchain chromadb tiktoken pypdf pycrptodome streamlit-extrasFill in your OpenAI API key in apikey.py.
export OPENAI_API_KEY='sk-...'
$ streamlit run app.py
Please choose an expert on the sidebar. For instance, you choose the Programmer, then the CodeGPT will reply you as the expert Programmer.
codegpt_demov1_1.mov
$ streamlit run chatbot.py
Fill in your OpenAI API key in streamlit web page.