Skip to content

Commit 8bdfe5b

Browse files
authored
Update vector-search-how-to-index-binary-data.md
Fix Edm.Binary -> Edm.Byte
1 parent 933240b commit 8bdfe5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/search/vector-search-how-to-index-binary-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ The following example shows a basic `vectorSearch` configuration:
8282

8383
The fields collection of an index must include a field for the document key, vector fields, and any other fields that you need for hybrid search scenarios.
8484

85-
Binary fields are of type `Collection(Edm.Binary)` and contain embeddings in packed form. For example, if the original embedding dimension is `1024`, the packed binary vector length is `ceiling(1024 / 8) = 128`. You get the packed form by setting the `vectorEncoding` property on the field.
85+
Binary fields are of type `Collection(Edm.Byte)` and contain embeddings in packed form. For example, if the original embedding dimension is `1024`, the packed binary vector length is `ceiling(1024 / 8) = 128`. You get the packed form by setting the `vectorEncoding` property on the field.
8686

8787
1. Add a field to the fields collection and give it name.
88-
1. Set data type to `Collection(Edm.Binary)`.
88+
1. Set data type to `Collection(Edm.Byte)`.
8989
1. Set `vectorEncoding` to `packedBit` for binary encoding.
9090
1. Set `dimensions` to `1024`. Specify the original (unpacked) vector dimension.
9191
1. Set `vectorSearchProfile` to a profile you defined in the previous step.

0 commit comments

Comments
 (0)