Skip to content

confused-soul/JamiaGPT

Repository files navigation

JamiaGPT

JamiaGPT is a web-based chat application powered by AI, designed to provide information and engage in roleplay conversations related to Jamia Millia Islamia. 🔗JamiaGPT

Video Demonstration

Screenshots

[screenshot1](src/images/JamiaGPT(1).png?raw=true) [screenshot2](src/images/JamiaGPT(2).png?raw=true)

Features

  • AI Chat Interface: Engage in roleplay conversations with JamiaGPT.
  • Information Retrieval: Retrieve relevant information based on user queries.
  • Disclaimer: Warns users about the model's current development stage and potential limitations.

Technologies Used

  • Streamlit: Web framework for creating interactive web applications with Python.
  • LangChain: Library for building AI chat applications, incorporating:
    • GoogleGenerativeAI: For generating AI responses. LLM used : gemini-1.5-flash
    • HuggingFace Transformers: Used for embeddings and inference. Embedding Model used : all-MiniLM-l6-v2
    • FAISS: (Facebook AI Similarity Search) is a library for fast similarity search from the Vector Database and handling document retrieval.
  • Python Libraries: Includes some Langchain libraries for data storage, management, and manipulation.

[RAG Model](src/images/RAG-Model.jpg?raw=true)

Setup Instructions

  1. Clone the Repository:
git clone https://github.com/confused-soul/JamiaGPT.git
cd JamiaGPT
  1. Install Dependencies:
pip install -r requirements.txt
  1. Set Up Secrets:
  • Ensure you have configured your secrets for Gemini API and Inference API keys in your Streamlit secrets manager.
  1. Run the Application:
streamlit run app.py
  1. Interact with JamiaGPT:
  • Open your web browser and navigate to the provided local host URL.
  • Start interacting by entering queries related to Jamia Millia Islamia.

Usage

  • Chat Interface: Enter questions or engage in roleplay with JamiaGPT.
  • Feedback: Provide feedback on responses to improve the model.

Contributing

Contributions are welcome! Please follow the standard guidelines for contributions and open issues for feature requests or bug reports.