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.
- git_query.py: Basic GitHub query tutorial.
- embedding.py: Tutorial on embedding data into Firebase DB.
- blog_query.py: How to query data within your blog.
- blog_embedding.py: Helps you create a RAG DB from your Jekyll GitHub Pages content.
- Python 3.x
- Firebase account and project setup
- GitHub account with a Jekyll blog repository
-
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
This script demonstrates how to perform basic queries on GitHub repositories.
python git_query.py
Learn how to embed data into your Firebase database.
python embedding.py
This script shows how to query data within your Jekyll blog.
python blog_query.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.