Skip to content

oriconunicorn/read_github_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

Install LangChain and other required packages.

$ pip install streamlit openai langchain chromadb tiktoken pypdf pycrptodome streamlit-extras

Fill in your OpenAI API key in apikey.py.

export OPENAI_API_KEY='sk-...'

Usage for code assistant

$ 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.

Output

codegpt_demov1_1.mov

Usage for Github code chatbot

$ streamlit run chatbot.py

Fill in your OpenAI API key in streamlit web page.

Output

githubcode_chatbot_demov1_1.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages