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: articles/azure-cache-for-redis/cache-overview-vector-similarity.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ Vector similarity search can be used in multiple applications. Some common use-c
76
76
-**Document Retrieval**. Use the deeper semantic understanding of text provided by LLMs to provide a richer document search experience where traditional keyword-based search falls short. [Document Retrieval Example](https://github.com/RedisVentures/redis-arXiv-search)
77
77
-**Product Recommendation**. Find similar products or services to recommend based on past user activities, like search history or previous purchases. [Product Recommendation Example](https://github.com/RedisVentures/LLM-Recommender)
78
78
-**Visual Search**. Search for products that look similar to a picture taken by a user or a picture of another product. [Visual Search Example](https://github.com/RedisVentures/redis-product-search)
79
-
-**Semantic Caching**. Reduce the cost and latency of LLMs by caching LLM completions. LLM queries are compared using vector similarity. If a new query is similar enough to a previously cached query, the cached query is returned. [Semantic Caching example using LangChain](https://python.langchain.com/docs/integrations/llms/llm_caching#redis-cache)
79
+
-**Semantic Caching**. Reduce the cost and latency of LLMs by caching LLM completions. LLM queries are compared using vector similarity. If a new query is similar enough to a previously cached query, the cached query is returned. [Semantic Caching example using LangChain](https://python.langchain.com/docs/integrations/llm_caching/#redis-cache)
80
80
-**LLM Conversation Memory**. Persist conversation history with an LLM as embeddings in a vector database. Your application can use vector search to pull relevant history or "memories" into the response from the LLM. [LLM Conversation Memory example](https://github.com/continuum-llms/chatgpt-memory)
81
81
82
82
## Why choose Azure Cache for Redis for storing and searching vectors?
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/bicep/installation-troubleshoot.md
+1-56Lines changed: 1 addition & 56 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,61 +10,6 @@ ms.date: 03/20/2024
10
10
11
11
This article describes how to resolve potential errors in your Bicep installation.
12
12
13
-
## .NET runtime error
14
-
15
-
When installing the Bicep extension for Visual Studio Code, you may run into the following error messages:
16
-
17
-
```error
18
-
Failed to install .NET runtime v5.0
19
-
```
20
-
21
-
```error
22
-
Failed to download .NET 5.0.x ....... Error!
23
-
```
24
-
25
-
> [!WARNING]
26
-
> This is a last resort solution that may cause problems when updating versions.
27
-
28
-
To solve the problem, you can manually install .NET from the [.NET website](https://aka.ms/dotnet-core-download), and then configure Visual Studio Code to reuse an existing installation of .NET with the following settings:
See [User and Workspace Settings](https://code.visualstudio.com/docs/getstarted/settings) for configuring Visual Studio Code settings.
67
-
68
13
## Visual Studio Code error
69
14
70
15
If you see the following error message popup in Visual Studio Code:
@@ -77,7 +22,7 @@ From VS Code, open the **Output** view in the pane at the bottom of the screen,
77
22
78
23
:::image type="content" source="./media/installation-troubleshoot/visual-studio-code-output-pane-bicep.png" alt-text="Visual Studio Code output pane":::
79
24
80
-
If you see the following output in the pane, and you're using Bicep CLI **version 0.4.1124** or later, check whether you have added the `dotnetAcquisitionExtension.existingDotnetPath`configuration option to VS Code. See [.NET runtime error](#net-runtime-error). If this configuration option is present, remove it and restart VS Code.
25
+
If you see the following output in the pane, check whether you have added the `dotnetAcquisitionExtension.existingDotnetPath`setting to VS Code. If this setting is present, remove it and restart VS Code. See [User and Workspace Settings](https://code.visualstudio.com/docs/getstarted/settings) for configuring Visual Studio Code settings.
81
26
82
27
```error
83
28
It was not possible to find any compatible framework version.
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/create-visual-studio-deployment-project.md
+11-44Lines changed: 11 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Create & deploy Visual Studio resource group projects
3
3
description: Use Visual Studio to create an Azure resource group project and deploy the resources to Azure.
4
4
ms.topic: how-to
5
-
ms.date: 03/20/2024
5
+
ms.date: 10/24/2024
6
6
---
7
7
8
8
# Creating and deploying Azure resource groups through Visual Studio
@@ -11,7 +11,7 @@ ms.date: 03/20/2024
11
11
> The Azure Resource Group project is now in extended support, meaning we will continue to support existing features and capabilities but won't prioritize adding new features.
12
12
13
13
> [!NOTE]
14
-
> For the best and most secure experience, we strongly recommend updating your Visual Studio installation to the [latest Long-Term Support (LTS) version](/visualstudio/install/update-visual-studio?view=vs-2022). Upgrading will improve both the reliability and overall performance of your Visual Studio environment.
14
+
> For the best and most secure experience, we strongly recommend updating your Visual Studio installation to the [latest Long-Term Support (LTS) version](/visualstudio/install/update-visual-studio). Upgrading will improve both the reliability and overall performance of your Visual Studio environment. If you choose not to upgrade, you may encounter the issues documented in [Issues when creating and deploying Azure resource groups through Visual Studio](https://learn.microsoft.com/troubleshoot/developer/visualstudio/ide/troubleshoot-create-deploy-resource-group).
15
15
16
16
With Visual Studio, you can create a project that deploys your infrastructure and code to Azure. For example, you can deploy the web host, website, and code for the website. Visual Studio provides many different starter templates for deploying common scenarios. In this article, you deploy a web app.
17
17
@@ -22,9 +22,9 @@ This article shows how to use [Visual Studio 2019 or later with the Azure develo
22
22
In this section, you create an Azure Resource Group project with a **Web app** template.
23
23
24
24
1. In Visual Studio, choose **File**>**New**>**Project**.
25
-
1.Select the **Azure Resource Group** project template and **Next**.
25
+
1.Search **resource group**, and then select the **Azure Resource Group (extended support)** project template and **Next**.
26
26
27
-
:::image type="content" source="./media/create-visual-studio-deployment-project/create-project.png" alt-text="Screenshot of Create a new project window highlighting Azure Resource Group and Next button.":::
27
+
:::image type="content" source="./media/create-visual-studio-deployment-project/add-app.png" alt-text="Screenshot of Create a new project window highlighting Azure Resource Group and Next button.":::
28
28
29
29
1. Give your project a name. The other default settings are probably fine, but review them to make they work for your environment. When done, select **Create**.
30
30
@@ -64,7 +64,7 @@ You can customize a deployment project by modifying the Resource Manager templat
64
64
65
65
:::image type="content" source="./media/create-visual-studio-deployment-project/navigate-json.png" alt-text="Screenshot of the Visual Studio editor with a selected element in the JSON Outline window.":::
66
66
67
-
1. You can add a resource by either selecting the **Add Resource** button at the top of the JSON Outline window, or by right-clicking **resources** and selecting **Add New Resource**.
67
+
1. You can add a resource by right-clicking **resources** and selecting **Add New Resource**.
68
68
69
69
:::image type="content" source="./media/create-visual-studio-deployment-project/add-resource.png" alt-text="Screenshot of the JSON Outline window highlighting the Add New Resource option.":::
70
70
@@ -92,40 +92,6 @@ You can customize a deployment project by modifying the Resource Manager templat
92
92
}
93
93
```
94
94
95
-
1. Navigate to the **HostingPlan** resource, and add a value for the **properties** with some properties.
96
-
97
-
```json
98
-
"properties": {
99
-
"name": "[parameters('hostingPlanName')]",
100
-
"numberOfWorkers": 1
101
-
}
102
-
```
103
-
104
-
You also need to define the `hostingPlanName` parameter:
105
-
106
-
```json
107
-
"hostingPlanName": {
108
-
"type": "string",
109
-
"metadata": {
110
-
"description": "Hosting paln name."
111
-
}
112
-
}
113
-
```
114
-
115
-
1. Open the **WebSite.parameters.json** file. You use the parameters file to pass in values during deployment that customize the resource being deployed. Give the hosting plan a name, and save the file.
You're now ready to deploy your project to a resource group.
@@ -182,7 +148,7 @@ At this point, you've deployed the infrastructure for your app, but there's no a
182
148
183
149
1. Add an **ASP.NET Core Web Application**.
184
150
185
-
:::image type="content" source="./media/create-visual-studio-deployment-project/add-app.png" alt-text="Screenshot of the New Project window with ASP.NET Core Web Application selected.":::
151
+
:::image type="content" source="./media/create-visual-studio-deployment-project/arm-vs-create-aspnet-core-web-app.png" alt-text="Screenshot of the New Project window with ASP.NET Core Web Application selected.":::
186
152
187
153
1. Give your web app a name, and select **Create**.
188
154
@@ -218,18 +184,19 @@ At this point, you've deployed the infrastructure for your app, but there's no a
218
184
219
185
Save your template.
220
186
221
-
1. There are some new parameters in your template. They were added in the previous step. You don't need to provide values for **_artifactsLocation** or **_artifactsLocationSasToken** because those values are automatically generated. However, you have to set the folder and file name to the path that contains the deployment package. The names of these parameters end with **PackageFolder** and **PackageFileName**. The first part of the name is the name of the Web Deploy resource you added. In this article, they're named **ExampleAppPackageFolder** and **ExampleAppPackageFileName**.
187
+
1. There are some new parameters added in the previous step.
188
+
189
+
:::image type="content" source="./media/create-visual-studio-deployment-project/new-parameters.png" alt-text="Screenshot of the new parameters.":::
222
190
191
+
You don't need to provide values for **_artifactsLocation** or **_artifactsLocationSasToken** because those values are automatically generated. However, you have to set the folder and file name to the path that contains the deployment package. The names of these parameters end with **PackageFolder** and **PackageFileName**. The first part of the name is the name of the Web Deploy resource you added. In this article, they're named **ExampleAppPackageFolder** and **ExampleAppPackageFileName**.
192
+
223
193
Open **Website.parameters.json** and set those parameters to the values you saw in the reference properties. Set **ExampleAppPackageFolder** to the name of the folder. Set **ExampleAppPackageFileName** to the name of the zip file.
0 commit comments