Friday, May 9, 2025
News PouroverAI
Visit PourOver.AI
No Result
View All Result
  • Home
  • AI Tech
  • Business
  • Blockchain
  • Data Science & ML
  • Cloud & Programming
  • Automation
  • Front-Tech
  • Marketing
  • Home
  • AI Tech
  • Business
  • Blockchain
  • Data Science & ML
  • Cloud & Programming
  • Automation
  • Front-Tech
  • Marketing
News PouroverAI
No Result
View All Result

Build RAG applications with MongoDB Atlas, now available in Knowledge Bases for Amazon Bedrock

May 2, 2024
in Cloud & Programming
Reading Time: 2 mins read
0 0
A A
0
Share on FacebookShare on Twitter



Foundational models (FMs) are trained on vast amounts of data and utilize billions of parameters. However, to address customer inquiries regarding domain-specific private data, they must consult an authoritative knowledge base external to the model’s training data sources. This is commonly accomplished through Retrieval Augmented Generation (RAG), which fetches data from internal or proprietary sources to enhance the capabilities of FMs in specific domains without requiring model retraining. This cost-effective approach ensures that model output remains relevant, accurate, and valuable in diverse contexts.

Knowledge Bases for Amazon Bedrock offers a fully managed solution for implementing the complete RAG workflow, from data ingestion to retrieval and prompt augmentation, eliminating the need for custom integrations to data sources and data flow management. MongoDB Atlas is now available as a vector store in Knowledge Bases for Amazon Bedrock, enabling the building of RAG solutions that securely connect private data sources within an organization to FMs in Amazon Bedrock. This integration adds to the existing vector stores supported by Knowledge Bases for Amazon Bedrock, including Amazon Aurora PostgreSQL-Compatible Edition, vector engine for Amazon OpenSearch Serverless, Pinecone, and Redis Enterprise Cloud.

To utilize MongoDB Atlas as a vector store in Knowledge Bases for Amazon Bedrock, the Vector Search index in MongoDB Atlas must be configured with the appropriate field containing vector data. Once the index is set up, source data must be ingested, vector embeddings created, and stored in a MongoDB Atlas collection. Queries can then be performed by converting input text into a vector embedding and using an aggregation pipeline stage for vector search queries against fields indexed as the vector type in a vectorSearch type index.

By integrating MongoDB Atlas with Knowledge Bases for Amazon Bedrock, most of the heavy lifting is handled automatically. Once the setup is complete, RAG can be incorporated into applications, with Amazon Bedrock converting input prompts into embeddings, querying the knowledge base, augmenting FM prompts with search results, and generating responses.

To set up MongoDB Atlas as a vector store in Knowledge Bases for Amazon Bedrock, begin by creating a MongoDB Atlas cluster on AWS, followed by creating a database, collection, database user, and configuring network access. The index definition for the Vector Search index must be created, and the knowledge base must be configured by creating an AWS Secrets Manager secret, an Amazon S3 storage bucket, and synchronizing data sources with the MongoDB Atlas vector search index.

Testing the knowledge base involves querying the knowledge base with questions about Amazon Bedrock using a chosen foundation model. To build RAG applications on top of Knowledge Bases for Amazon Bedrock, the RetrieveAndGenerate API can be used to query the knowledge base and receive a response. Further customization can be achieved by using the Retrieve API to obtain semantic search responses for the RAG workflow.

Key considerations include the MongoDB Atlas cluster tier, AWS PrivateLink for secure connections, ensuring the vector embedding size matches the dimension of the embedding model, and utilizing metadata filters for precise retrieval of relevant chunks based on applied filters.

The MongoDB Atlas vector store in Knowledge Bases for Amazon Bedrock is available in the US East (N. Virginia) and US West (Oregon) Regions. For more information, try out the MongoDB Atlas integration with Knowledge Bases for Amazon Bedrock and provide feedback to AWS re:Post or your usual AWS contacts. Engage with the generative AI builder community at community.aws for further collaboration.



Source link

Tags: AmazonapplicationsATLASBasesBedrockBuildKnowledgeMongoDBRAG
Previous Post

US Federal Prosecutors Investigate Block Inc. for Compliance Violations

Next Post

Automate Jest Tests in Your DevOps Pipeline with GitHub Actions

Related Posts

Top 20 Javascript Libraries You Should Know in 2024
Cloud & Programming

Top 20 Javascript Libraries You Should Know in 2024

June 10, 2024
Simplify risk and compliance assessments with the new common control library in AWS Audit Manager
Cloud & Programming

Simplify risk and compliance assessments with the new common control library in AWS Audit Manager

June 6, 2024
Simplify Regular Expressions with RegExpBuilderJS
Cloud & Programming

Simplify Regular Expressions with RegExpBuilderJS

June 6, 2024
How to learn data visualization to accelerate your career
Cloud & Programming

How to learn data visualization to accelerate your career

June 6, 2024
BitTitan Announces Seasoned Tech Leader Aaron Wadsworth as General Manager
Cloud & Programming

BitTitan Announces Seasoned Tech Leader Aaron Wadsworth as General Manager

June 6, 2024
Copilot Studio turns to AI-powered workflows
Cloud & Programming

Copilot Studio turns to AI-powered workflows

June 6, 2024
Next Post
Automate Jest Tests in Your DevOps Pipeline with GitHub Actions

Automate Jest Tests in Your DevOps Pipeline with GitHub Actions

How the brain’s arousal center helps control visual attention too

How the brain's arousal center helps control visual attention too

Random robots are more reliable

Random robots are more reliable

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Trending
  • Comments
  • Latest
Is C.AI Down? Here Is What To Do Now

Is C.AI Down? Here Is What To Do Now

January 10, 2024
Porfo: Revolutionizing the Crypto Wallet Landscape

Porfo: Revolutionizing the Crypto Wallet Landscape

October 9, 2023
A Complete Guide to BERT with Code | by Bradney Smith | May, 2024

A Complete Guide to BERT with Code | by Bradney Smith | May, 2024

May 19, 2024
A faster, better way to prevent an AI chatbot from giving toxic responses | MIT News

A faster, better way to prevent an AI chatbot from giving toxic responses | MIT News

April 10, 2024
Part 1: ABAP RESTful Application Programming Model (RAP) – Introduction

Part 1: ABAP RESTful Application Programming Model (RAP) – Introduction

November 20, 2023
Saginaw HMI Enclosures and Suspension Arm Systems from AutomationDirect – Library.Automationdirect.com

Saginaw HMI Enclosures and Suspension Arm Systems from AutomationDirect – Library.Automationdirect.com

December 6, 2023
Can You Guess What Percentage Of Their Wealth The Rich Keep In Cash?

Can You Guess What Percentage Of Their Wealth The Rich Keep In Cash?

June 10, 2024
AI Compared: Which Assistant Is the Best?

AI Compared: Which Assistant Is the Best?

June 10, 2024
How insurance companies can use synthetic data to fight bias

How insurance companies can use synthetic data to fight bias

June 10, 2024
5 SLA metrics you should be monitoring

5 SLA metrics you should be monitoring

June 10, 2024
From Low-Level to High-Level Tasks: Scaling Fine-Tuning with the ANDROIDCONTROL Dataset

From Low-Level to High-Level Tasks: Scaling Fine-Tuning with the ANDROIDCONTROL Dataset

June 10, 2024
UGRO Capital: Targeting to hit milestone of Rs 20,000 cr loan book in 8-10 quarters: Shachindra Nath

UGRO Capital: Targeting to hit milestone of Rs 20,000 cr loan book in 8-10 quarters: Shachindra Nath

June 10, 2024
Facebook Twitter LinkedIn Pinterest RSS
News PouroverAI

The latest news and updates about the AI Technology and Latest Tech Updates around the world... PouroverAI keeps you in the loop.

CATEGORIES

  • AI Technology
  • Automation
  • Blockchain
  • Business
  • Cloud & Programming
  • Data Science & ML
  • Digital Marketing
  • Front-Tech
  • Uncategorized

SITEMAP

  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us

Copyright © 2023 PouroverAI News.
PouroverAI News

No Result
View All Result
  • Home
  • AI Tech
  • Business
  • Blockchain
  • Data Science & ML
  • Cloud & Programming
  • Automation
  • Front-Tech
  • Marketing

Copyright © 2023 PouroverAI News.
PouroverAI News

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In