// rag · run-llama/rags

rags

ragsは、run-llamaが公開しているオープンソースのRAG・知識ベースプロジェクトです(GitHub: run-llama/rags)。GitHubスターは6,549、フォークは654で、MITライセンスの下で公開されています。GitHubでの最終更新は2024年4月5日です。

Build a ChatGPT over your own data using natural language and LlamaIndex.

★ 6.5k スター⑂ 654 フォークMIT更新 2024年4月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

リポジトリ
run-llama/rags
GitHubスター
6,549
フォーク
654
ライセンス
MIT
GitHubでの最終更新
2024年4月5日
掲載タイプ
完全なインストールガイド
// 仕組み

仕組み

  1. Clarify your data goal

    Decide which documents or data sources you want to chat with and what questions the app should answer.

  2. Clone and install

    Clone the repo and install dependencies with Poetry.

  3. Configure your model keys

    Add your OpenAI key (or configure Anthropic, Replicate or a local Hugging Face model) in the app's configuration.

  4. Build and chat

    Use the builder in natural language to configure chunking, embeddings and retrieval, then chat with the generated RAG agent.

// 機能

選ばれる理由

Natural-language builder agent

Describe what you want in plain language and the builder agent assembles the RAG application for you.

Configurable RAG settings

Tune the system prompt, top-k retrieval, chunk size, embedding model, LLM and whether to add a summarization tool.

Multiple LLM backends

Supports OpenAI, Anthropic and Replicate models, plus local Hugging Face models referenced as local:<model_name>.

Flexible embeddings

Uses OpenAI text-embedding-ada-002 by default and also supports local Hugging Face embedding models.

Streamlit interface

The generated app runs as a Streamlit UI with a home page, a RAG config page and the generated agent page.

Built on LlamaIndex

Uses the LlamaIndex framework from run-llama for indexing and querying your data.

Advertisement
// 自分で実行

自分で実行してみる

  1. Clone the repository

    Clone RAGs and enter the project directory.

    git clone https://github.com/run-llama/rags.git
    cd rags
  2. Install dependencies

    Install the project and its dev dependencies with Poetry.

    poetry install --with dev
  3. Launch the app

    Start the Streamlit interface, then build your RAG agent from the home page.

    streamlit run 1_🏠_Home.py
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

Who maintains RAGs?

RAGs is a run-llama project — the team behind LlamaIndex.

Is RAGs free?

Yes, the code is MIT licensed. You pay only for any model APIs you choose to call.

Does it need a paid API key?

By default it uses OpenAI models and embeddings, which need an OpenAI API key; Anthropic and Replicate also need keys, while local Hugging Face models can run without one.

How does it compare to building with LlamaIndex directly?

RAGs is a builder on top of LlamaIndex: faster to get a working chat app via natural language, but less flexible than hand-writing your own LlamaIndex pipeline.

How do I get started?

Clone the repo, run poetry install --with dev, add your model key, and launch the Streamlit app.

// さらに探索

似ているツール

RAG・知識ベース

llm-graph-builder

Build Neo4j knowledge graphs from unstructured data using LLMs — then chat with your graph.

★ 5.3k スターApache-2.0
ガイドを見る →
RAG・知識ベース

SQLBot

SQLBot — DataEase's conversational analytics: ask in natural language, get SQL answers via LLMs plus RAG.

★ 6.9k スターGPL-3.0
ガイドを見る →
RAG・知識ベース

FastGPT

A knowledge-base platform with visual AI workflows — build Q&A systems on your own documents

★ 29.8k スターNOASSERTION
ガイドを見る →
RAG・知識ベース

deep-searcher

DeepSearcher — open-source deep research over your private data, with reasoning models and Milvus retrieval.

★ 8.3k スターApache-2.0
ガイドを見る →
RAG・知識ベース

xberg

Polyglot document intelligence in Rust — extract text, tables and structured data from 106 formats.

★ 9.4k スターMIT
ガイドを見る →
RAG・知識ベース

unstract

Unstract — LLM-driven extraction of unstructured data, built for API deployments and ETL pipeline workflows.

★ 7.3k スターAGPL-3.0
ガイドを見る →
// 代替候補

代替候補: RAG・知識ベース

LibreAIカタログに掲載されたRAG・知識ベースプロジェクトの中で最もスターの多いもの — ragsが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る rag

さらに見る: RAG・知識ベース

カタログの中でragsとスター数が近いRAG・知識ベースプロジェクト — 前後の棚もそのまま見て回れます。

ragsを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。