Skip to content

Jashu284/NEW-AI

Repository files navigation

🧠 Generative AI Assistant

                     by Vinay Sai Rajapu(002870410) and Jaswanth Pavuluri(002870640)

Welcome to the Generative AI Assistant project! This Streamlit-based app allows you to ask questions related to Generative AI topics such as transformers, embeddings, GANs, RAG, and more. It uses OpenAI GPT models and Pinecone vector database for retrieval-augmented generation (RAG)!


🌐 Live Demo

((https://jashu284-new-ai-app-cfl4fp.streamlit.app/))

Video Demo

((https://drive.google.com/file/d/1CXj6CmL2K8KEsuqvm4acaoxNfyusiqxp/view?usp=sharing))

Web Blog -

((https://generative-ai-assistant-jcs9tqw.gamma.site/))


🔗 Technologies Used

  • Streamlit for UI
  • OpenAI for embeddings and chat completion
  • Pinecone for semantic vector search
  • Python-dotenv for environment variable management

🚀 Features

  • Upload your own knowledge base (.txt or .md)
  • Get embedding-based semantic search
  • Uses RAG (Retrieval Augmented Generation) pipeline
  • Light / Dark theme switcher
  • Clean and conversational UI

🔧 Installation

# Clone the repository
git clone https://github.com/YOUR_GITHUB_USERNAME/YOUR_REPO_NAME.git
cd YOUR_REPO_NAME

# Create a virtual environment (optional but recommended)
python -m venv venv
source venv/bin/activate   # On Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

# Run the app
streamlit run app.py

📂 Environment Variables

Create a .env file in the project root and add:

OPENAI_API_KEY=your-openai-api-key
PINECONE_API_KEY=your-pinecone-api-key
PINECONE_ENV=your-pinecone-environment
PINECONE_INDEX=your-pinecone-index-name

Important: When deploying on Streamlit Cloud, configure these in the Secrets section.


🔥 Screenshots

Light Mode Dark Mode
(image
) image

|


🚀 Future Improvements

  • Multiple file uploads
  • Caching frequent queries
  • Admin dashboard for analytics
  • Voice-based input option

📅 License

This project is licensed under the MIT License. See LICENSE file for more details.


📢 Connect

Made with ❤️ by [Jaswanth and Vinay]!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages