Full RAG Application Code to Chat with GitHub Repo using Llama-3
@saboo_shubham_
-
Query GitHub Repo Using Embedchain App and Streamlit
By
–
6. Ask question about the GitHub repo and get the answer • Create a text input for the user to enter their question using 'st.text_input()'
• If a question is asked, get the answer from the Embedchain app and display it using 'st.write()' -

Initialize Embedchain App with GitHub Integration
By
–
5. Initialize the Embedchain App • Create an instance of embedchain bot.
• Prompt the user to enter the github repo
• The `add` function of the app will accept any valid github query with qualifiers. It only supports loading github code, repository, issues and pull-requests. -

Building Streamlit User Interfaces with Python
By
–
4. Set up the Streamlit App Streamlit lets you create user interface with just python code, for this app we will: • Add a title to the app using 'st.title()'
• Add a description for the app using 'st.caption()' -

Configure Embedchain App with Llama-3 and Chroma Database
By
–
3. Configure the Embedchain App For this application we will use Llama-3, you can choose from OpenAI, cohere, anthropic or any other LLM of your choice. Select the vector database as the opensource chroma db (you are free to choose any other vector database of your choice)
-

Setup Github Loader with Personal Access Token Configuration
By
–
2. Setup the Github loader by configuring the Github account with username and personal access token (PAT). Check out the github docs to learn how to create your PAT.
-

Building RAG Web Apps with Streamlit and Embedchain
By
–
1. Import necessary libraries • Streamlit for building the web app
• Embedchain for the RAG functionality
• tempfile for creating temporary files and directories -
Build Local LLM RAG App Chat GitHub Llama-3
By
–
Build a LLM app with RAG to chat with GitHub using Llama-3 running locally on your computer (100% free and without internet):
-

Chai Research Job Application Open Now
By
–
To apply:
1. RT the first post.
2. Follow @chai_research and @Saboo_Shubham_ 3. Fill the application here: https://
chai-research.com/jobs
