Ir para o conteúdo
Atlas de IA

Perguntas e respostas com recuperação

Recupera a evidência primeiro e responde a partir dela

Linguagem e conhecimentoIniciante #07
entradaTextoTexto

O texto completo é apresentado em inglês; o título e o resumo estão traduzidos.

O QUE ESTA CAPACIDADE SIGNIFICA

Takes a question and returns an answer. It has two forms: closed-book, answering from parameters alone, and open-book, retrieving relevant passages from an external corpus first. Retrieval-augmented generation belongs to the latter, keeping knowledge in an updatable external store and usually attaching citations. It differs from free generation by having an explicit question and a verifiable target answer.

Como é feita tecnicamente

A RAG pipeline chunks documents into vectors in an index, encodes the question the same way and takes nearest neighbours, then pastes the retrieved passages with the question into a prompt so the model can answer with citations. Refinements include hybrid dense-plus-sparse retrieval, query rewriting before retrieval, and a reranker to pick the best passages. Closed-book answering relies purely on knowledge compressed during pre-training.

Produtos representativos

14

Perplexity

2022
Perplexity AI

Responde enquanto pesquisa, com fontes em cada resposta

Aplicativo Gratuito com plano pago
TextoTexto

NotebookLM

2023
Google DeepMind

Responde apenas com as fontes que você fornece, com citações

Aplicativo Gratuito com plano pago
TextoTabelaÁudioTextoÁudio

ChatGPT

2022
OpenAI

A janela de chat que colocou um grande modelo de linguagem nas mãos de todos

Aplicativo Gratuito com plano pago
TextoImagemÁudioTextoImagemÁudio

GPT-4o

2024
OpenAI

Um modelo geral nativamente multimodal: texto, imagem e áudio por uma única porta

Modelo Fechado
TextoImagemÁudioTextoÁudio

Gemini

2024
Google DeepMind

Uma entrada de chat que reúne busca, escritório e um modelo multimodal

Aplicativo Gratuito com plano pago
TextoImagemÁudioTextoImagemÁudio

Command R

2024
Cohere

Um modelo comercial feito para recuperação aumentada e uso de ferramentas

Modelo Pesos abertos
TextoTexto

Jamba

2024
AI21 Labs

Um modelo de pesos abertos que mistura um modelo de espaço de estados com um Transformer

Modelo Pesos abertos
TextoTexto

Kimi

2023
Moonshot AI

Um assistente de conversa chinês conhecido por lidar com contextos longos

Modelo Fechado
TextoTexto

Hunyuan

2023
Tencent (Hunyuan)

A família de modelos gerais da Tencent, com versões de pesos abertos

Modelo Pesos abertos
TextoImagemTexto

Microsoft Copilot

2023
Microsoft

IA conversacional integrada ao sistema operacional e aos apps de escritório

Aplicativo Gratuito com plano pago
TextoImagemÁudioTextoImagem

Doubao

2023
ByteDance (Seed)

O modelo de conversa geral e o aplicativo da ByteDance

Modelo Fechado
TextoImagemTexto

LangChain

2022
LangChain

Encadeie modelos, ferramentas e recuperação

Ferramenta Código aberto

ERNIE

2019
Baidu

Um modelo chinês que começou com pré-treinamento enriquecido por conhecimento, versão inicial representativa

Modelo Fechado
TextoTexto

Pinecone

2019
Pinecone

Banco vetorial gerenciado para busca por similaridade

Infraestrutura Fechado

Organizações relacionadas

Usos típicos

  • Enterprise knowledge bases and internal Q&A
  • Web-search assistants with citations
  • Document and contract interrogation
  • Support and technical self-service

Como avaliar se funciona bem

Exact Match
Share of answers identical to the reference
Answer F1
Token overlap with the reference, allowing partial credit
Retrieval hit rate and citation accuracy
Whether evidence was retrieved and citations actually support the claim

Limites e dificuldades

  • When the right passage is not retrieved, the model still answers confidently — hallucination in disguise
  • Multi-hop questions needing several documents break, answering only one link
  • Key evidence in the middle of a long context is the most likely to be ignored

Conceitos por trás