Skip to content

This project implements a chatbot using the LLAMA Index library, specifically the PaLM2 model, to retrieve responses based on user queries and PDF documents. It utilizes Hugging Face embeddings for document and query representation, indexing, and a vector store for efficient retrieval.

Notifications You must be signed in to change notification settings

nadunchanna98/Product_Recommendation_Chatbot_AI_BOOTCAMP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Product Recommendation Chatbot AI BOOTCAMP

video.mp4

Overview

This project implements a chatbot using the LLAMA Index library, specifically the PaLM2 model, to retrieve responses based on user queries and PDF documents. It utilizes Hugging Face embeddings for document and query representation, indexing, and a vector store for efficient retrieval.

image

Features

  • User queries are processed through Hugging Face embeddings.
  • Company or Detail Documents are embedded and indexed for efficient retrieval.
  • PaLM2 LLM is used for generating responses based on user queries.
  • Streamlit Interface
  • transformers - Usage in transformers by Hugging Face is a library for working with pre-trained models (NLP). In here, it used for working with Hugging Face embeddings.
  • torch - PyTorch, a popular open-source machine learning library. It provides tools for building and training deep neural networks.
  1. Clone the repository:
git clone https://github.com/nadunchanna98/Product_Recommendation_Chatbot_AI_BOOTCAMP.git
  1. Installation
pip install llama_index
pip install streamlit
pip install torch
pip install transformers
pip install google-generativeai
pip install pypdf
  1. Navigate to the project directory and run the Streamlit app:
cd Product_Recommendation_Chatbot_AI_BOOTCAMP
streamlit run app.py

About

This project implements a chatbot using the LLAMA Index library, specifically the PaLM2 model, to retrieve responses based on user queries and PDF documents. It utilizes Hugging Face embeddings for document and query representation, indexing, and a vector store for efficient retrieval.

Topics

Resources

Stars

Watchers

Forks