Giter Club home page Giter Club logo

edd-recursive-doc-agent-vs-metadata-replacement's Introduction

Evaluation Driven Development for Multi Document RAG Pipeline

Applying Evaluation Driven Development (EDD) to aid in the design decision of RAG pipelines. Specifically, this repo demonstrates how to use EDD to decide which of these two strategies perform best for a multi document RAG pipeline:

  • Recursive retriever + document agent
  • Metadata replacement + node sentence window

See Colab notebook edd_recursive_doc_agent_metadata_replacement for detailed implementation.

Check out my Medium blog post for details. Evaluation Driven Development, the Swiss Army Knife for RAG Pipelines.

Evaluation Driven Development for Multi Document RAG Pipeline with GPT-3.5 and Zephyr-7b

This notebook demonstrates how to use EDD to decide which of the two LLMs perform best for a multi document RAG pipeline for Metadata replacement + node sentence window:

  • gpt-3.5-turbo
  • zephyr-7b-alpha

See Colab notebook edd_zephyr_7b_gpt3_5_metadata_replacement_multi_doc for detailed implementation.

Check out my Medium blog post for details. Exploring zephyr-7b-alpha Through the Lens of Evaluation Driven Development.

edd-recursive-doc-agent-vs-metadata-replacement's People

Contributors

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