Git Product home page Git Product logo

rag-fusion's Issues

Package Idea

I think this could make a very good python package which can be deployed to pypi and a lot of people could use it.

  • So basically arranging the code is a structured form like typical OOP workflow
  • Allow people to use any LLM from the most popular ones for generating multiple sub queries
  • Allow the usage of any vector database: from the popular ones
  • Track changes and maintain this RAG Fusion package

  • Happy to collaborate if the idea sounds good to you!
    Cheers!

    compare with RAG

    Hi, thank for rag-fusion but i want compare this with RAG, how can i do it? Have you tried doing that yet? if you have tried, can you public me the results?

    How the reranking works in the real usecases?

    Hi, I noticed that you are using some random mock up and I wonder how practically one has to think of reranking in real usecases. Is it intended to generate a regression algo that takes a query and bunch of responses and score them accordingly (I mean based some supervised data)?

    Does multiple queries makes sense in a vector space?

    ๐Ÿ‘‹

    Interesting work!
    However I do not fully understand the need of generating multiple queries doing a vector search.
    Once the query is transformed into a vector the search is latent space centric so it will retrieve documents close to our vector. The rewritten queries will be semantically similar and I would not expect much benefit from this. The downside is the cost effectiveness having to multiply the number of queries and vector calculation for each query.

    However, a completely different scenario would be generating the different queries in solely text based search DBs where having the same query reformulated with even different words that could retrieve semantically similar documents improving the results.

    Have you made some comparison tests?

    WDYT?

    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.