- This repository provides a comprehensive guide on integrating LlamaIndex with Google Gemini to build an effective Retrieval-Augmented Generation (RAG) system for Question and Answer (Q&A) applications.
- llama-index
- google-generativeai
- llama-index-llms-gemini
- pypdf
- python-dotenv
- IPython
- llama-index-embeddings-gemini
- Prerequisites
- Git
- Command line familiarity
- Clone the Repository:
git clone https://github.com/NebeyouMusie/LlamaIndex-And-Google-Gemini.git
- Create and Activate Virtual Environment (Recommended)
python -m venv venv
source venv/bin/activate
for Mac andvenv/bin/activate
for Windows
- Navigate to the projects directory
cd ./LlamaIndex-And-Google-Gemini
using your terminal - Install Libraries:
pip install -r requirements.txt
- Enter your
GOOGLE_API_KEY
in the.env.example
file then change the file to.env
. You can get yourGOOGLE_API_KEY
from here - run all cells found in the
./notebook/llamaindex_gemini.ipynb
notebook
- Collaborations are welcomed ❤️
- I would like to thank Sunny Savita
- LinkedIn: Nebeyou Musie
- Gmail: nebeyoumusie@gmail.com
- Telegram: Nebeyou Musie