This repository provides a set of Python scripts to help you use Firebase as a Retrieval-Augmented Generation (RAG) database for embedding and querying your Jekyll (GitHub Pages) blog content.
Clone the repository:
git clone https://github.com/kkdai/jekyll-rag-firebase.git
cd jekyll-rag-firebase
Install required Python packages:
pip install -r requirements.txt
git_query.py
)This script demonstrates how to perform basic queries on GitHub repositories.
python git_query.py
embedding.py
)Learn how to embed data into your Firebase database.
python embedding.py
blog_query.py
)This script shows how to query data within your Jekyll blog.
python blog_query.py
blog_embedding.py
)Use this script to embed your Jekyll GitHub Pages content into a RAG DB.
python blog_embedding.py
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or suggestions, feel free to open an issue or contact me.