Troubleshooting a Python AI RAG Application

Here are some helpful resources that helped me troubleshoot my attempt at getting an OpenAI “retrieval augmented generation” (RAG) application that is built in the video tutorial below.

It took a bit of effort but I was finally able to get my copy of the application to work but I’m currently stuck on the “Rate Limiting” error. Apparently, I need to give OpenAI authorization to raid my wallet to run a RAG application at any kind of scale.

Original GitHub Project from Video

https://github.com/pixegami/langchain-rag-tutorial/tree/main

Setting your OpenAI API Key using Python environment variables.

https://github.com/langchain-ai/langchain/issues/7189

Issue with OpenAI API Rate Limiting Errors:

https://help.openai.com/en/articles/6891829-error-code-429-rate-limit-reached-for-requests

How to Locate your Python Installation Path

python -c "import os, sys; print(os.path.dirname(sys.executable))"

https://stackoverflow.com/questions/647515/how-can-i-find-where-python-is-installed-on-windows

How to Upgrade SQLite3 in Python



SQLite Website for Downloading the SQLite Update for Chroma / OpenAI project

https://www.sqlite.org/download.html

My GitHub Solution After Troubleshooting

https://github.com/webzcom/langchain-rag-tutorial-main/tree/main