Skip to content

Commit 5add55c

Browse files
committed
Update AI-ad-gen.md
1 parent 601c938 commit 5add55c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

articles/cosmos-db/mongodb/vcore/AI-ad-gen.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ ms.date: 03/12/2024
1212
---
1313

1414
# AI-Enhanced Advertisement Generation using Azure Cosmos DB for MongoDB vCore
15-
1615
## Overview
1716
In this guide, we demonstrate how to create dynamic advertising content that resonates with your audience, using the power of AI. Utilizing Azure Cosmos DB for MongoDB vCore, we harness the [vector similarity search](./vector-search.md) functionality to semantically analyze and match inventory descriptions with advertisement topics. The process is made possible by generating vectors for inventory descriptions using OpenAI embeddings, which significantly enhance their semantic depth. These vectors are then stored and indexed within the Cosmos DB for MongoDB vCore resource. When generating content for advertisements, we vectorize the advertisement topic to find the best-matching inventory items. This is followed by a retrieval augmented generation (RAG) process, where the top matches are sent to OpenAI to craft a compelling advertisement. The entire codebase for the application is available in a [GitHub repository](https://aka.ms/adgen) for your reference.
1817

19-
2018
## Features
2119
- **Vector Similarity Search**: Uses Azure Cosmos DB for MongoDB vCore's powerful vector similarity search to improve semantic search capabilities, making it easier to find relevant inventory items based on the content of advertisements.
2220
- **OpenAI Embeddings**: Utilizes the cutting-edge embeddings from OpenAI to generate vectors for inventory descriptions. This approach allows for more nuanced and semantically rich matches between the inventory and the advertisement content.

0 commit comments

Comments
 (0)