Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enhances search results using GPT-generated queries, vector searches, and Reciprocal Rank Fusion Algorithm

Notifications You must be signed in to change notification settings

Abhinavcode13/ragfusion-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Rag Fusion - RFF Algorithm

This system is designed to enhance search results by generating multiple queries from a user's initial query, conducting vector-based searches, and re-ranking the results using the Reciprocal Rank Fusion (RRF) algorithm.

Architecture

image

Workflow

  1. Initial Query: User provides an initial search query.
  2. Query Generation: The system generates multiple related queries using the GPT model.
  3. Vector Search: Each generated query is used to perform a vector-based search, retrieving documents from a predefined set.
  4. Reciprocal Rank Fusion: Retrieved documents are re-ranked based on their relevance across multiple queries using the RRF algorithm.
  5. Final Output: A re-ranked list of documents is produced, offering the most relevant search results.

License

For more information, please refer to the full research paper here.

About

Enhances search results using GPT-generated queries, vector searches, and Reciprocal Rank Fusion Algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published