Just a simple example of RAG using a pipeline from the haystack library.
To run, ensure python 3.10 and poetry are installed. Then, run poetry install and finally poetry run ./rag_example.py.
Note that this connects to OpenAI's API, so you'll need an API key.