// rag · run-llama/rags

rags

rags — проект с открытым исходным кодом из категории «RAG и базы знаний» от run-llama (run-llama/rags на GitHub). У него 6 549 звёзд на GitHub и 654 форка, он распространяется по лицензии MIT и последний раз обновлялся на GitHub 5 апреля 2024.

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

★ 6,5 тыс. звёзд⑂ 654 форкаMITобновлено апр. 2024
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
run-llama/rags
Звёзды GitHub
6 549
Форки
654
Лицензия
MIT
Последнее обновление на GitHub
5 апреля 2024
Тип страницы
Полное руководство по установке
// как это работает

Как это работает

  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,3 тыс. звёздApache-2.0
Смотреть руководство →
RAG и базы знаний

SQLBot

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

★ 6,9 тыс. звёздGPL-3.0
Смотреть руководство →
RAG и базы знаний

FastGPT

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

★ 29,8 тыс. звёздNOASSERTION
Смотреть руководство →
RAG и базы знаний

deep-searcher

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

★ 8,3 тыс. звёздApache-2.0
Смотреть руководство →
RAG и базы знаний

xberg

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

★ 9,4 тыс. звёздMIT
Смотреть руководство →
RAG и базы знаний

unstract

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

★ 7,3 тыс. звёздAGPL-3.0
Смотреть руководство →
// альтернативы

Альтернативы: RAG и базы знаний

Другие проекты из категории «RAG и базы знаний» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если rags вам не подходит.

// ещё в категории rag

Больше проектов: RAG и базы знаний

Соседние проекты из категории «RAG и базы знаний» в каталоге, ближайшие по числу звёзд к rags — продолжайте изучать полку по обе стороны от него.

Получить rags

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.