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

Feb 13
2025
Use language embeddings for zero-shot classification and semantic search with Amazon Bedrock
Feb 21
2025
Improve search results for AI using Amazon OpenSearch Service as a vector database with Amazon Bedrock
Feb 20
2025
Multi-tenant vector search with Amazon Aurora PostgreSQL and Amazon Bedrock Knowledge Bases
Jan 22
2025
How Cato Networks uses Amazon Bedrock to transform free text search into structured GraphQL queries

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.