Glossary
Answer engine
An answer engine is a search system that replies to a question with a direct written answer, generated from retrieved sources and usually cited, instead of a list of links.
An answer engine is a search system that responds to a question with a direct, written answer, usually with citations to the sources it drew on, instead of returning a list of links for the user to read. It retrieves relevant documents or web pages, passes the most useful passages to a large language model, and has the model compose a reply grounded in those passages. Answer engines include consumer products that answer questions from the web and internal tools that answer from a company’s own documents, and the same pattern sits inside many AI agents.
How an answer engine works
An answer engine is retrieval-augmented generation applied to search. A typical request runs through five stages. The question is interpreted, and often rewritten or split into several sub-queries (query decomposition) when it asks about more than one thing. A retriever then searches an index, commonly with hybrid search so that both meaning and exact names count. Candidates are reranked and trimmed to the passages most likely to contain the answer. A large language model reads those passages and writes the reply. Finally, each claim is linked back to the passage it came from.
The index differs by product. Web answer engines rely on a web crawler and a large web index, or call a search API at query time. Enterprise answer engines index internal documents, tickets and wikis, which makes them a form of enterprise search. The answer-writing step is broadly the same in both, and so are most of the failure modes.
How answer engines developed
Question answering is an old goal of information retrieval. Early systems extracted short answers from documents for factoid questions such as “who founded this company?”, and web search engines later added featured snippets that quoted a passage above the results. Those systems could only return text that already existed in a single source. Large language models changed that: they can read several passages and write an answer that combines them, in the user’s own terms. The first wave of language-model chat answered from training data alone and was often wrong about recent or niche facts, which pushed the field towards retrieval first and generation second. Current answer engines are the result: a search system and a writing model, with citations tying the two together.
Answer engine vs search engine
A traditional search engine is built to rank documents; an answer engine is built to produce the answer itself. The practical differences are summarised below.
Aspect | Search engine | Answer engine |
|---|---|---|
Output | Ranked list of links | Written answer with citations |
Who reads the sources | The user | The model, then the user if they check |
Unit of retrieval | Whole pages or documents | Passages within documents |
Cost per query | Low | Higher: retrieval plus model generation |
Freshness | Limited by crawl or index updates | The same, plus any delay in re-indexing |
Typical failure | Relevant page ranked too low | Confident answer that misstates or misses the source |
The shift also changes how content gets used. A search engine sends a click to the page; an answer engine lifts sentences from it. Pages written so that individual sentences make sense when quoted alone, and that state facts plainly near the top, are easier for answer engines to cite. That is one reason publishing conventions aimed at language models, such as llms.txt, have appeared. The economics change too: each answer costs a model call over thousands of tokens of retrieved text, so retrieval precision affects the bill as well as the quality.
Why citations matter
Citations are what separate an answer engine from a chatbot answering from memory. A model answering from its training data has a knowledge cutoff, cannot see private documents and gives no way to check its claims. An answer engine retrieves current sources at query time and shows where each statement came from, which gives the reader a way to verify and holds the system to its sources. This is grounding made visible, and source attribution is the mechanism.
Good citations point to the specific passage, page or timestamp as well as the document. A citation to a 90-page PDF tells the reader little; a citation to page 47 can be checked in seconds. Precise citations depend on retrieval that works below the document level, which is why sub-document retrieval matters so much to answer quality. Our post on citations users trust goes further into how to present them.
A worked example
A product manager asks an internal answer engine: “What did customers say about the new export feature in last month’s support tickets?” The system decomposes the question into a search for tickets mentioning export from the last 30 days, filtered by date, and a search for related feedback in recorded calls. Retrieval returns 40 candidate passages, and reranking keeps the 8 that discuss the feature. The model writes a short summary: most complaints concern a missing CSV option and a time-out on large exports, with two requests for scheduled exports. Each point carries a citation to the ticket, or to the timestamp in the call where it was raised.
Two things make this answer useful. The date filter stopped older tickets about a previous export tool from leaking in, and the citations let the product manager open the three tickets behind the time-out claim before acting on it. Without either, the same fluent summary could have been built on stale or misread sources, and nothing in the wording would have shown it.
Where answer engines go wrong
The commonest failure is retrieval that is related but wrong. If the passages passed to the model are about the topic but lack the fact, the model fills the gap with something plausible, which is a hallucination presented next to a citation that does not support it. Measuring faithfulness, whether each sentence is supported by its cited passage, catches this. The underlying cause is covered in our post similarity isn’t relevance.
Other failures follow from the design. Questions that need facts from several documents can be answered from only the first one found unless the system supports multi-hop retrieval. Stale indexes produce answers that were true last quarter. Contradictory sources get blended into an answer that matches neither. And stuffing more passages into the context window to be safe tends to lower accuracy, because models use information in long inputs unevenly; the trade-off is discussed in RAG vs long context.
Answer engines and agents
Answer engines and AI agents are converging. An agent that needs a fact can call an answer engine as a tool and get back a cited answer, or call a raw search API and assemble the answer itself. More advanced systems let the model plan several searches, read the results and search again, which is agentic search; run for minutes across many searches, the pattern becomes deep research. When answers can be refined through follow-up questions, the answer engine becomes conversational search. Teams choosing a web retrieval provider for agents can compare options in the best AI web search APIs roundup and in Tavily alternatives.
Building an answer engine
An answer engine over your own content needs an ingestion pipeline (parsing, chunking, embedding and indexing every document type), a retrieval layer with filtering and reranking, a generation step with a prompt that requires citations, and an evaluation set of real questions with known answers. The ingestion side is usually the largest ongoing cost, because documents change and every file format has its own parsing problems. Keeping the index current matters as much as building it: an answer engine is only as fresh as its last re-index.
The generation prompt does more work than it appears to. It should tell the model to answer only from the supplied passages, to cite each claim, to say plainly when the passages do not contain the answer, and to keep the reply short. Abstaining when retrieval comes back thin is better than a guess with a citation attached, and users learn to trust a system that sometimes says it does not know.
Evaluation should check three things separately: whether the right passage was retrieved (recall at k is the usual measure), whether the answer is faithful to it, and whether it addresses the question that was asked (answer relevance). Keeping them apart shows whether a bad answer needs a retrieval fix or a generation fix, which are different jobs and often different owners.
How Exabase fits
Exabase provides the retrieval and content layers of an answer engine, and answer generation runs in your application with the model of your choice. Files, notes, bookmarked pages, audio and video stored as Resources are indexed when they are written, with no separate embedding pipeline. Deep Search returns hybrid, sub-document results: each hit includes matched chunks with relevance scores, page numbers for documents and timestamp ranges for audio and video, which are the references an answer engine needs for precise citations. Filters by type, folder, tag and date keep answers scoped, and a precision setting from 0 to 1 decides how strict the match should be. The searching resources guide and search API reference cover the details.
For freshness, Workers can re-extract changed documents and tidy the index on a schedule, and they include a web search tool for gathering new sources. The RAG accuracy solution explains the retrieval approach, and the research agents and documentation assistants use cases show answer engines built on it.
Frequently asked questions
What is an example of an answer engine?
Perplexity and the AI-generated answers shown above results in Google Search are well-known examples on the web. Inside companies, assistants that answer questions from internal documentation with links to the source pages are answer engines too.
How is an answer engine different from a search engine?
A search engine returns a ranked list of pages for the user to read. An answer engine reads the most relevant passages itself and returns a written answer with citations, so the user gets the answer first and checks the sources when it matters.
Is ChatGPT an answer engine?
When it searches the web and cites sources, it behaves as one. When it answers from its training data alone, it is a language model responding from memory without retrieval or citations, and those two things are what answer engines add.
Are answer engines accurate?
They are as accurate as their retrieval. When the right passage is retrieved, the answer is usually correct and checkable. When retrieval returns related passages without the fact, answers can be wrong while still looking well sourced, so checking citations on important answers remains good practice.
What is answer engine optimisation?
It is the practice of writing and structuring content so that answer engines retrieve and cite it: stating answers plainly, keeping sentences self-contained, using clear headings and keeping facts current. It overlaps heavily with good search engine optimisation.
Can I build an answer engine on my own documents?
Yes. You need an index of your documents, a retrieval layer, a model to write answers and a prompt that enforces citations. Managed retrieval such as Deep Search removes the indexing and chunking work, leaving the prompt and interface to you.
Is Exabase an answer engine?
Exabase is infrastructure for building one. It stores and indexes content and returns cited, sub-document search results, and your application uses a model to turn those results into answers.
Related pages: AI search, conversational search, natural language search, agentic search, deep research, source attribution, grounding, what is RAG, best AI web search APIs, RAG accuracy