Skip to content

ojshav/Search-Engine-With-Langchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Search Engine With Langchain

🔍 A powerful search engine application built using Streamlit and Langchain, integrating various tools like Wikipedia, Arxiv, and DuckDuckGo for comprehensive search capabilities.

Features

  • Wikipedia Search: Retrieve concise information from Wikipedia.
  • Arxiv Search: Access academic papers and research articles.
  • DuckDuckGo Search: Perform web searches using DuckDuckGo.
  • Interactive Chat Interface: Engage with the search engine through a chat interface.

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/your-repo-name.git
    cd your-repo-name
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the required packages:

    pip install -r requirements.txt
  4. Set up environment variables:

    Create a .env file in the root directory and add your Groq API key:

    GROQ_API_KEY=your_groq_api_key_here
    

Usage

  1. Run the application:

    streamlit run Tools_agents/app.py
  2. Access the application:

    Open your web browser and go to http://localhost:8501.

  3. Interact with the search engine:

    • Enter your Groq API key in the sidebar.
    • Use the chat interface to ask questions and receive responses from the integrated tools.

Troubleshooting

  • Ensure all dependencies are installed correctly.
  • Verify that your Groq API key is valid and correctly set in the .env file.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.

License

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

Acknowledgments

  • Langchain for providing the tools and utilities.
  • Streamlit for the interactive web application framework.

image

About

A regular Search Engine with Power of LLM MODEL

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages