Skip to content

Commit 3016bf6

Browse files
diberryCopilot
andcommitted
Fix table separator formatting in Python quickstart
- Standardize table header separators to | --- | format Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a2b39a9 commit 3016bf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cosmos-db/quickstart-vector-store-python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ The app logging and output show:
364364
Azure Cosmos DB supports three distance functions for vector similarity:
365365
366366
| Distance Function | Score Range | Interpretation | Best For |
367-
|------------------|-------------|----------------|----------|
367+
| --- | --- | --- | --- |
368368
| **Cosine** (default) | 0.0 to 1.0 | Higher scores (closer to 1.0) indicate greater similarity | General text similarity, Azure OpenAI embeddings (used in this quickstart) |
369369
| **Euclidean** (L2) | 0.0 to ∞ | Lower = more similar | Spatial data, when magnitude matters |
370370
| **Dot Product** | -∞ to +∞ | Higher = more similar | When vector magnitudes are normalized |
@@ -465,7 +465,7 @@ The distance function is set in the **vector embedding policy** when creating th
465465
This Bicep code defines an Azure Cosmos DB container configuration for storing hotel documents with vector search capabilities.
466466
467467
| Property | Description |
468-
|----------|-------------|
468+
| --- | --- |
469469
| `partitionKeyPaths` | Partitions documents by `HotelId` for distributed storage. |
470470
| `indexingPolicy` | Configures automatic indexing on all document properties (`/*`) except the system `_etag` field and the `DescriptionVector` array to optimize write performance. Vector fields don't need standard indexing because they use a specialized `vectorIndexes` configuration instead. |
471471
| `vectorIndexes` | Creates either a DiskANN or quantizedFlat index on the `/DescriptionVector` path for efficient similarity searches. |

0 commit comments

Comments
 (0)