Multimodal-VideoRAG is framework designed to facilitate multimodal information retrieval and question answering on videos by leveraging Video Retrieval-Augmented Generation (VideoRAG). It combines the power of Large Vision-Language Models (VLMs) and BridgeTower embeddings to perform video pre-processing, embedding generation, and multimodal vector database queries.
To set up Multimodal-VideoRAG, you will need:
Clone the repository:
git clone https://github.com/Bhavik-Ardeshna/Multimodal-VideoRAG.git
cd Multimodal-VideoRAG
Install the required Python packages:
pip install -r requirements.txt
Install LanceDB for efficient similarity search:
pip install lancedb
Install HuggingFace for video preprocessing:
pip install transformers
text = "astronauts mission"
retrieved_video_segments = retriever.invoke(text)
bot = VLMConversationalBot()
response = bot.converse(frame_path, "Describe what is happening in this image.")
print(f"Bot's Response: {response}")
10 commits
Jupyter Notebook
99.4%
Multimodal-VideoRAG is framework designed to facilitate multimodal information retrieval and question answering on videos by leveraging Video Retrieval-Augmented Generation (VideoRAG). It combines the power of Large Vision-Language Models (VLMs) and BridgeTower embeddings to perform video pre-processing, embedding generation, and multimodal vector database queries.
To set up Multimodal-VideoRAG, you will need:
Clone the repository:
git clone https://github.com/Bhavik-Ardeshna/Multimodal-VideoRAG.git
cd Multimodal-VideoRAG
Install the required Python packages:
pip install -r requirements.txt
Install LanceDB for efficient similarity search:
pip install lancedb
Install HuggingFace for video preprocessing:
pip install transformers
text = "astronauts mission"
retrieved_video_segments = retriever.invoke(text)
bot = VLMConversationalBot()
response = bot.converse(frame_path, "Describe what is happening in this image.")
print(f"Bot's Response: {response}")
10 commits
Jupyter Notebook
99.4%