/WebWizard

Your Own Perplexity AI Alternative with Python and LangChain

Primary LanguagePython

WebWizard

Your Own Perplexity AI Alternative with Python and LangChain

This project provides a open-source alternative to Perplexity AI using Python, Langchain and various libraries.

web_wizard_demo

Key Features

  • 🔍 Web Scraping: Utilize DuckDuckGo for internet data gathering.
  • ⚡ Fast Access: Leverage the Groq API for quick responses from various language models.
  • 🗄️ Vector Storage: Use ChromaDB for effective data storage and retrieval.
  • 🖥️ User-Friendly Interface: Built with Shiny, offering an interactive and smooth user experience.
  • ✨ Embeddings: Enhance model understanding using Google Gemini for better performance.

Get Started:

  1. Clone the Repository:
git clone https://github.com/MrSentinel137/WebWizard.git
cd WebWizard
  1. Install Dependencies:

    pip install -r requirements.txt

    or

    pip3 install -r requirements.txt
  2. Update .env File Before running the program, ensure to update your .env file with your API keys:

       GROQ_API_KEY=your_groq_api_key_here
       GOOGLE_API_KEY=your_google_api_key_here
    
  3. Run the Program:

    shiny run web_wizard.py

    or

    python -m shiny run web_wizard.py

API Keys

You will need API keys to access the following services: