// rag · run-llama/rags

rags

rags é um projeto de RAG e conhecimento de código aberto de run-llama (run-llama/rags no GitHub). Tem 6.549 estrelas no GitHub e 654 forks, é publicado sob a licença MIT e foi atualizado pela última vez no GitHub em 5 de abril de 2024.

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

★ 6,5 mil estrelas⑂ 654 forksMITatualizado abr 2024
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Repositório
run-llama/rags
Estrelas no GitHub
6.549
Forks
654
Licença
MIT
Última atualização no GitHub
5 de abril de 2024
Tipo de ficha
Guia de instalação completo
// como funciona

Como funciona

  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.

// recursos

Por que as pessoas gostam tanto

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
// execute você mesmo

Execute você mesmo

  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
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

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.

// continue explorando

Ferramentas semelhantes

RAG e conhecimento

llm-graph-builder

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

★ 5,3 mil estrelasApache-2.0
Ver o guia →
RAG e conhecimento

SQLBot

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

★ 6,9 mil estrelasGPL-3.0
Ver o guia →
RAG e conhecimento

FastGPT

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

★ 29,8 mil estrelasNOASSERTION
Ver o guia →
RAG e conhecimento

deep-searcher

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

★ 8,3 mil estrelasApache-2.0
Ver o guia →
RAG e conhecimento

xberg

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

★ 9,4 mil estrelasMIT
Ver o guia →
RAG e conhecimento

unstract

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

★ 7,3 mil estrelasAGPL-3.0
Ver o guia →
// alternativas

Alternativas em RAG e conhecimento

Os outros projetos de RAG e conhecimento com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se rags não for o ideal para você.

// mais em rag

Mais em RAG e conhecimento

Projetos de RAG e conhecimento próximos no catálogo, os mais próximos em estrelas de rags: continue explorando dos dois lados dele.

Baixe o rags

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.