Retrieval-augmented generation (RAG) supplies a generative model with relevant external context while it produces an answer. It acts as additional memory for information unavailable during training, including recent events, restricted corporate data, databases, APIs, and web sources. section 9.1.1 section 9.3.2
A practical RAG workflow separates data preparation from question answering:
- Fetch documents from crawlers, downloaded files, APIs, databases, or public data exchanges. section 9.3.2
Financial research assistant
A research workflow can load earnings-call transcripts and company files, then answer a question about autonomous-driving companies with recent earnings. Context can also encode preferences, such as favoring solutions without expensive LiDAR systems. The resulting answer depends on retrieved documents as well as the model’s general knowledge, so it remains research support rather than a guarantee or investment decision. section 9.3.2
RAG improves access to specialized or newer information, but it does not remove uncertainty. Standalone chatbots may miss smaller companies, lack finance-specific vectorized data, or retain results on a provider’s side. Carefully managed sources, prompts, and validation remain necessary; AI can still lack context and make mistakes. section 8.4.2 section 13.1































