Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a59cade

Browse files
committed
updated readme
1 parent a529ca0 commit a59cade

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

‎README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ Azure SQL database can be used to easily and quickly perform vector similarity s
2323

2424
The **native option** is to use the new Vector Functions, recently introduced in Azure SQL database. Vector Functions are a set of functions that can be used to perform vector operations directly in the database.
2525

26-
> [!NOTE]
27-
> Vector Functions are in Public Preview. Learn the details about vectors in Azure SQL here: https://aka.ms/azure-sql-vector-public-preview
28-
2926
![](_assets/azure-sql-cosine-similarity-vector-type.gif)
3027

3128
The **classic option** is to use the classic T-SQL to perform vector operations, with the support of columnstore indexes for getting good performance.
@@ -41,7 +38,7 @@ In the example the unzipped CSV file `vector_database_wikipedia_articles_embedde
4138

4239
Once the file is uploaded, get the [SAS token](https://learn.microsoft.com/azure/storage/common/storage-sas-overview) to allow Azure SQL database to access it. (From Azure storage Explorer, right click on the `playground` container and then select `Get Shared Access Signature`. Set the expiration date to some time in future and then click on "Create". Copy the generated query string somewhere, for example into Notepad, as it will be needed later)
4340

44-
Use a client tool like [Azure Data Studio](https://azure.microsoft.com/products/data-studio/) to connect to an Azure SQL database and then use the `./vector-embeddings/01-import-wikipedia.sql` to create the `wikipedia_articles_embeddings` table where the uploaded CSV file will be imported.
41+
Use a client tool like [VS Code MSSQL Extension](https://github.com/microsoft/vscode-mssql) to connect to an Azure SQL database and then use the `./vector-embeddings/01-import-wikipedia.sql` to create the `wikipedia_articles_embeddings` table where the uploaded CSV file will be imported.
4542

4643
Make sure to replace the `<account>` and `<sas-token>` placeholders with the value correct for your environment:
4744

@@ -52,7 +49,7 @@ Run each section (each section starts with a comment) separately. At the end of
5249

5350
## Add embeddings columns to table
5451

55-
In the imported data, vectors are stored as JSON arrays. To take advtange of vector processing, the arrays must be saved into a more compact and optimized binary format index. Thanks to the new `VECTOR` type, turning a vector into a set of values that can be saved into a column is very easy:
52+
In the imported data, vectors are stored as JSON arrays. To take advtange of vector processing, the arrays must be saved into a more compact and optimized binary format index. Thanks to the [new `VECTOR` type](https://learn.microsoft.com/en-us/sql/t-sql/data-types/vector-data-type?view=sql-server-ver17&tabs=csharp), turning a vector into a set of values that can be saved into a column is very easy:
5653

5754
```sql
5855
alter table wikipedia_articles_embeddings
@@ -123,10 +120,10 @@ Make sure to setup the database for this sample using the `./python/00-setup-dat
123120

124121
Azure SQL database, now has support to perform vector operations directly in the database, making it easy to perform vector similarity search. Using vector search along with fulltext search and BM25 ranking, it is possible to build powerful search engines that can be used in a variety of scenarios.
125122

126-
> [!NOTE]
127-
> Vector Functions are in Early Adopter Preview. Get access to the preview via https://aka.ms/azuresql-vector-eap-announcement
123+
Learn everything about vector search in Azure SQL and SQL server database here: https://learn.microsoft.com/t-sql/data-types/vector-data-type?view=sql-server-ver17&tabs=csharp.
128124

129125
## More resources
130126

131127
- [Azure SQL & AI](https://aka.ms/sql-ai)
132128
- [Azure SQL Vector Samples](https://github.com/Azure-Samples/azure-sql-db-vector-search)
129+
- [Vector Data Type](https://learn.microsoft.com/sql/t-sql/data-types/vector-data-type?view=sql-server-ver17&tabs=csharp)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /