Giter VIP home page Giter VIP logo

dria-searching-agent's Introduction

logo

Dria Search Agent

Dria Search Agent replies queries with scientifically grounded answers with a multi-agent system.

License: Apache-2.0 Discord

DRIA Search Agent

DRIA Searching Agent is an AI-powered tool that answers your questions by selecting the most relevant agent from a pool of agents with different backstories. The selected agent searches the internet, reads articles and websites, and provides a detailed response to your query.

Prerequisites

  • Python 3.12 or 3.13
  • Poetry
  • Docker

Installation

  1. Install Poetry:
    curl -sSL https://install.python-poetry.org | python3 -
  2. Clone the repository:
    git clone [email protected]:firstbatchxyz/dria-searching-agent.git
    cd dria-searching-agent
  3. Install dependencies using Poetry:
    poetry install

Running the Application with Poetry

To run the app with poetry, first start the Qdrand and Browserless services using docker-compose

docker-compose up -d

Then run the application using Poetry in one of three modes:

poetry run search
poetry run search_v2 # with manager
poetry run server # server mode

Which compiles three different versions of the program.

This command sets up a virtual environment specific to the project and executes the app script or module specified in the pyproject.toml under [tool.poetry.scripts].

Running the Application in server mode with Docker-compose

Project can be run in a server mode with the following docker compose profile

docker-compose --profile server up

Which sets up Qdrant, Browserless and agent services

After the services are ready, agent server will be listening on port 5000, example request body:

{
    "query":"How does Google Maps detects traffic?",
    "with_manager": true
}

How to Use

  1. Ask a question or provide a query.
  2. The DRIA Searching Agent will select the most relevant agent from its pool based on the question.
  3. The selected agent will search the internet, read articles, and gather information to provide a detailed response.
  4. The agent will present the answer to your question, along with the sources used to compile the response.

Additional Tools and Commands

  • Run tests with Poetry using a command like poetry run pytest.
  • Update Python dependencies using poetry update.

dria-searching-agent's People

Contributors

andthattoo avatar selimseker avatar

Stargazers

 avatar  avatar  avatar Erhan avatar  avatar Anıl Berk Altuner avatar Faruk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.