You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-4
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ description: Build a session recommender using Jamstack and Event-Driven archite
24
24
25
25
This sample demonstrates how to build a session recommender using Jamstack and Event-Driven architecture, using Azure SQL DB to store and search vectors embeddings generated using OpenAI. The solution is built using Azure Static Web Apps, Azure Functions, Azure SQL Database, and Azure OpenAI.
26
26
27
-
A fully working, production ready, version of this sample, that has been used at [VS Live](https://vslive.com/) conferences, is available here: https://icy-beach-0b0dc380f.5.azurestaticapps.net/
27
+
A fully working, production ready, version of this sample, that has been used at [VS Live](https://vslive.com/) conferences, is available here: https://ai.microsofthq.vslive.com/
@@ -52,7 +52,7 @@ Azure SQL database can be used to easily and quickly perform vector similarity s
52
52
The **native option** uses 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.
53
53
54
54
> [!NOTE]
55
-
> Vector Functions are in Early Adopter Preview. Get access to the preview via https://aka.ms/azuresql-vector-eap-announcement
55
+
> Vector Functions are in Public Preview. Learn the details about vectors in Azure SQL here: https://aka.ms/azure-sql-vector-public-preview
immediately the deployed Azure Function will get executed in response to the `INSERT` statement. The Azure Function will call the OpenAI service to generate the text embedding for the session title and abstract, and then store the embedding in the database, specifically in the `web.sessions_embeddings` table.
194
+
immediately the deployed Azure Function will get executed in response to the `INSERT` statement. The Azure Function will call the OpenAI service to generate the text embedding for the session title and abstract, and then store the embedding in the database, specifically in the `web.sessions` table.
195
195
196
196
```sql
197
-
select*fromweb.sessions_embeddings
197
+
select*fromweb.sessions
198
198
```
199
199
200
200
You can now open the URL associated with the created Static Web App to see the session recommender in action. You can get the URL from the Static Web App overview page in the Azure portal.
@@ -216,6 +216,12 @@ once finished, create a `./func/local.settings.json` and `.env` starting from pr
216
216
217
217
Go back to the sample root folder and then run:
218
218
219
+
```bash
220
+
swa build
221
+
```
222
+
223
+
to build the fronted and then start everything with:
0 commit comments