Coder Social home page Coder Social logo

research_agent's Introduction

An Autonomous AI Research Agent

Research Agent Image Image generated by the Author using Photoshop Generative Fill

The python implementation of an AI Research Agent that can solve the problem of multi-hop KBQA with deep reasoning capability. If you are interested in knowing more about the ‘Why’, the ‘What’, and the design evolution of the AI Research Agent, then please read this article.

The Research Agent

Database notebook

The Database notebook populates the vector store with the source text corpus. I am using the following data repository for the example data set:

https://github.com/rahulnyk/mahabharata

The dataset is in the form of CSV files. Tt is easy to load them into a pandas dataframe and use the langchain Dataframe loader. If you are using some other data source, please use the appropriate loader to populate the Vector Store.

I am using the Postgres with PG Vector for the vector store.

You can use the Supabase PG Vector store if you like. It works like a charm and is one of the easist to set up.

Research Agent notebook

This is the implementation of the research agent.

Please refer to the .env.example to create a .env file before running the code. You can use either a locally hosted database or Supabase vector store. Populate your .env accordingly.

For more information on the Research Agent, please refer to the article linked earlier in this readme. Feel free to ping me if you need any help setting it up.

research_agent's People

Contributors

rahulnyk 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.