Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

jasoncobra3/Search-Engine-LLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

9 Commits

Repository files navigation

πŸ”Ž Search-Engine-LLM

An AI-powered search assistant built with LangChain, Streamlit, and GROQ LLM. This project lets you ask natural language questions and get intelligent answers by combining multiple knowledge sources like DuckDuckGo, Wikipedia, and Arxiv.

It’s like having your own research assistant that can search the web, academic papers, and encyclopedic knowledge β€” all in one chat interface.


πŸš€ Features

  • 🌐 DuckDuckGo Search – fetch real-time web results
  • πŸ“š Wikipedia – retrieve concise encyclopedic knowledge
  • πŸ“„ Arxiv – query research papers and summaries
  • πŸ€– LLM-powered reasoning with Llama3-8b-8192 (via GROQ API)
  • πŸŽ›οΈ Streamlit UI with interactive chat experience
  • 🧠 Multi-tool agent that decides the best source for each query

🧰 Tech Stack

  • Python
  • Streamlit (UI)
  • LangChain (Agent + Tools)
  • GROQ LLM (ChatGroq)
  • DuckDuckGo API
  • Wikipedia API
  • Arxiv API
  • dotenv

πŸ“¦ Installation

  1. Clone the Repo bash

    git clone https://github.com/jasoncobra3/Search-Engine-LLM.git
    cd Search-Engine-LLM
    
  2. Create Virtual Environment

     python -m venv venv
    
  3. Activate the Virtual Environment

     # Windows:
     venv\Scripts\activate
     # macOS/Linux:
     venv/bin/activate
    
  4. Install Dependencies

    pip install -r requirements.txt
    

πŸ” Setup

  1. Create a .env file in root folder with
     GROQ_API_KEY=your_groq_api_key_here
  2. Or enter your API key in the Streamlit sidebar when running the app.

πŸš€Run the App

Run the Script in Terminal

 streamlit run app.py

πŸ“ Project Structure

β”œβ”€β”€ app.py # Main Streamlit app
β”œβ”€β”€ requirements.txt # Dependencies
β”œβ”€β”€ .env # API key (not committed)
β”œβ”€β”€ .gitignore
└── README.md

🀝 Contributing

Pull requests are welcome! If you’d like to add more tools (e.g., Google Search, PubMed, News APIs), feel free to fork and contribute.


⭐ Show Your Support

If you like this project, give it a ⭐ on GitHub β€” it helps others discover it!

About

Search-Engine-LLM is an AI-powered research assistant that answers natural language queries using LangChain, Streamlit, and GROQ LLM, retrieving knowledge from DuckDuckGo, Wikipedia, and Arxiv.

Resources

License

Stars

Watchers

Forks

Contributors

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /