Check out the completed code on Google Colab here
Chat with a Codebase. Build with Pinecone & Llama 3.1 via Groq