Home icon

Implementing Semantic Search using Amazon Bedrock and RDS for PostgreSQL in .NET

.NET on AWS Blog



This article demonstrates how to implement semantic search in a .NET application using Amazon Bedrock and Amazon RDS for PostgreSQL, leveraging large language models and vector embeddings.

  • Uses Amazon Titan Text Embeddings to convert text into numeric vectors
  • Employs pgvector extension in PostgreSQL to store and query vector embeddings
  • Enables semantic search by finding similar content through cosine distance calculations
  • Provides a step-by-step guide to: - Generate embeddings - Create a PostgreSQL database - Store movie descriptions as vectors - Perform semantic search queries
  • Demonstrates finding semantically similar movies based on natural language search queries

The solution showcases how developers can integrate advanced AI-powered search capabilities into .NET applications using AWS services, enabling more intelligent and context-aware search experiences.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Apr 24
2025
Combine keyword and semantic search for text and images using Amazon Bedrock and Amazon OpenSearch Service
Jul 2
2024
Create an end-to-end serverless digital assistant for semantic search with Amazon Bedrock
Apr 6
2026
Building Intelligent Search with Amazon Bedrock and Amazon OpenSearch for hybrid RAG solutions
Jul 16
2026
Build enterprise search for agents with Amazon Bedrock Managed Knowledge Base

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.