AWS Big Data Blog

Category: HAQM Titan

Build a decentralized semantic search engine on heterogeneous data stores using autonomous agents

In this post, we show how to build a Q&A bot with RAG (Retrieval Augmented Generation). RAG uses data sources like HAQM Redshift and HAQM OpenSearch Service to retrieve documents that augment the LLM prompt. For getting data from HAQM Redshift, we use the Anthropic Claude 2.0 on HAQM Bedrock, summarizing the final response based on pre-defined prompt template libraries from LangChain. To get data from HAQM OpenSearch Service, we chunk, and convert the source data chunks to vectors using HAQM Titan Text Embeddings model.