Giter Site home page Giter Site logo

rag-llamaindex's Introduction

RAG System Building Guide with LlamaIndex

This repository provides step-by-step instructions to create a custom RAG (Retrieval-Augmented Generation) system, leveraging the power of large language models (LLMs) and specifically focusing on VinaLLaMA for the Vietnamese language.

Introduction

The RAG System is a powerful natural language processing model that combines the capabilities of retrieval-based and generative approaches. This guide will walk you through the process of building a custom RAG system using OpenAI API, and specifically integrating LlamaIndex for enhanced performance.

Requirements

Before you begin, ensure that you have the following prerequisites installed and configured:

  • Python 3.x
  • OpenAI API key
  • LlamaIndex library

Features

  • Building a RAG System using OpenAI API
  • Building a Custom RAG System using Starling-7B
  • Building a Custom RAG System using VinaLLaMA for Vietnamese Language
  • Building an advanced RAG System with
    • Sentence Window Retrieval
    • Auto-merging Retrieval
  • How to evaluate a RAG System

Notebooks are available on colab

  • RAG_with_LlamaIndex.ipynb Open In Colab
  • Build_and_Evaluate_Advanced_RAG.ipynb Open In Colab

License

This project is licensed under the Apache License 2.0. Feel free to use and modify the code according to the terms of the license.

rag-llamaindex's People

Contributors

quyanh2005 avatar

Watchers

 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.