Skip to content

Commit 7ef66ae

Browse files
authored
Merge pull request #273755 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 5ed2ec4 + d15f02f commit 7ef66ae

File tree

2 files changed

+92
-83
lines changed

2 files changed

+92
-83
lines changed

articles/ai-services/language-service/summarization/includes/quickstarts/csharp-sdk.md

Lines changed: 85 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ namespace Example
9898

9999
TextAnalyticsActions actions = new TextAnalyticsActions()
100100
{
101-
ExtractSummaryActions = new List<ExtractSummaryAction>() { new ExtractSummaryAction() }
101+
ExtractiveSummarizeActions = new List<ExtractiveSummarizeAction>() { new ExtractiveSummarizeAction() }
102102
};
103103

104104
// Start analysis process.
@@ -117,9 +117,9 @@ namespace Example
117117
// View operation results.
118118
await foreach (AnalyzeActionsResult documentsInPage in operation.Value)
119119
{
120-
IReadOnlyCollection<ExtractSummaryActionResult> summaryResults = documentsInPage.ExtractSummaryResults;
120+
IReadOnlyCollection<ExtractiveSummarizeActionResult> summaryResults = documentsInPage.ExtractiveSummarizeResults;
121121

122-
foreach (ExtractSummaryActionResult summaryActionResults in summaryResults)
122+
foreach (ExtractiveSummarizeActionResult summaryActionResults in summaryResults)
123123
{
124124
if (summaryActionResults.HasError)
125125
{
@@ -129,7 +129,7 @@ namespace Example
129129
continue;
130130
}
131131

132-
foreach (ExtractSummaryResult documentResults in summaryActionResults.DocumentsResults)
132+
foreach (ExtractiveSummarizeResult documentResults in summaryActionResults.DocumentsResults)
133133
{
134134
if (documentResults.HasError)
135135
{
@@ -142,15 +142,14 @@ namespace Example
142142
Console.WriteLine($" Extracted the following {documentResults.Sentences.Count} sentence(s):");
143143
Console.WriteLine();
144144

145-
foreach (SummarySentence sentence in documentResults.Sentences)
145+
foreach (ExtractiveSummarySentence sentence in documentResults.Sentences)
146146
{
147147
Console.WriteLine($" Sentence: {sentence.Text}");
148148
Console.WriteLine();
149149
}
150150
}
151151
}
152152
}
153-
154153
}
155154

156155
static async Task Main(string[] args)
@@ -190,6 +189,7 @@ using Azure;
190189
using Azure.Core;
191190
using Azure.AI.Language.Conversations;
192191
using System.Text.Json;
192+
using System.Threading.Tasks;
193193

194194
namespace Example
195195
{
@@ -198,92 +198,99 @@ namespace Example
198198
private static readonly AzureKeyCredential credentials = new AzureKeyCredential("replace-with-your-key-here");
199199
private static readonly Uri endpoint = new Uri("replace-with-your-endpoint-here");
200200

201-
static void Main(string[] args)
201+
static async Task Main(string[] args)
202202
{
203-
204203
ConversationAnalysisClient client = new ConversationAnalysisClient(endpoint, credentials);
205-
summarization(client);
204+
await Summarization(client);
206205
}
207-
public static void summarization(ConversationAnalysisClient client)
206+
207+
static async Task Summarization(ConversationAnalysisClient client)
208208
{
209209
var data = new
210210
{
211211
analysisInput = new
212212
{
213213
conversations = new[]
214-
{
215-
new
216-
{
217-
conversationItems = new[]
218-
{
219-
new
220-
{
221-
text = "Hello, you’re chatting with Rene. How may I help you?",
222-
id = "1",
223-
participantId = "Agent",
224-
},
225-
new
226-
{
227-
text = "Hi, I tried to set up wifi connection for Smart Brew 300 coffee machine, but it didn’t work.",
228-
id = "2",
229-
participantId = "Customer",
230-
},
231-
new
232-
{
233-
text = "I’m sorry to hear that. Let’s see what we can do to fix this issue. Could you please try the following steps for me? First, could you push the wifi connection button, hold for 3 seconds, then let me know if the power light is slowly blinking on and off every second?",
234-
id = "3",
235-
participantId = "Agent",
236-
},
237-
new
238-
{
239-
text = "Yes, I pushed the wifi connection button, and now the power light is slowly blinking?",
240-
id = "4",
241-
participantId = "Customer",
242-
},
243-
new
244-
{
245-
text = "Great. Thank you! Now, please check in your Contoso Coffee app. Does it prompt to ask you to connect with the machine?",
246-
id = "5",
247-
participantId = "Agent",
248-
},
249-
new
250-
{
251-
text = "No. Nothing happened.",
252-
id = "6",
253-
participantId = "Customer",
254-
},
255-
new
256214
{
257-
text = "I’m very sorry to hear that. Let me see if there’s another way to fix the issue. Please hold on for a minute.",
258-
id = "7",
259-
participantId = "Agent",
215+
new
216+
{
217+
conversationItems = new[]
218+
{
219+
new
220+
{
221+
text = "Hello, you’re chatting with Rene. How may I help you?",
222+
id = "1",
223+
role = "Agent",
224+
participantId = "Agent",
225+
},
226+
new
227+
{
228+
text = "Hi, I tried to set up wifi connection for Smart Brew 300 coffee machine, but it didn’t work.",
229+
id = "2",
230+
role = "Customer",
231+
participantId = "Customer",
232+
},
233+
new
234+
{
235+
text = "I’m sorry to hear that. Let’s see what we can do to fix this issue. Could you please try the following steps for me? First, could you push the wifi connection button, hold for 3 seconds, then let me know if the power light is slowly blinking on and off every second?",
236+
id = "3",
237+
role = "Agent",
238+
participantId = "Agent",
239+
},
240+
new
241+
{
242+
text = "Yes, I pushed the wifi connection button, and now the power light is slowly blinking?",
243+
id = "4",
244+
role = "Customer",
245+
participantId = "Customer",
246+
},
247+
new
248+
{
249+
text = "Great. Thank you! Now, please check in your Contoso Coffee app. Does it prompt to ask you to connect with the machine?",
250+
id = "5",
251+
role = "Agent",
252+
participantId = "Agent",
253+
},
254+
new
255+
{
256+
text = "No. Nothing happened.",
257+
id = "6",
258+
role = "Customer",
259+
participantId = "Customer",
260+
},
261+
new
262+
{
263+
text = "I’m very sorry to hear that. Let me see if there’s another way to fix the issue. Please hold on for a minute.",
264+
id = "7",
265+
role = "Agent",
266+
participantId = "Agent",
267+
}
268+
},
269+
id = "1",
270+
language = "en",
271+
modality = "text",
272+
},
260273
}
261274
},
262-
id = "1",
263-
language = "en",
264-
modality = "text",
265-
},
266-
}
267-
},
268275
tasks = new[]
269-
{
270-
new
271-
{
272-
parameters = new
273-
{
274-
summaryAspects = new[]
275276
{
276-
"issue",
277-
"resolution",
278-
}
279-
},
280-
kind = "ConversationalSummarizationTask",
281-
taskName = "1",
282-
},
283-
},
277+
new
278+
{
279+
parameters = new
280+
{
281+
summaryAspects = new[]
282+
{
283+
"issue",
284+
"resolution",
285+
}
286+
},
287+
kind = "ConversationalSummarizationTask",
288+
taskName = "1",
289+
},
290+
},
284291
};
285292

286-
Operation<BinaryData> analyzeConversationOperation = client.AnalyzeConversation(WaitUntil.Started, RequestContent.Create(data));
293+
Operation<BinaryData> analyzeConversationOperation = await client.AnalyzeConversationsAsync(WaitUntil.Started, RequestContent.Create(data));
287294
analyzeConversationOperation.WaitForCompletion();
288295

289296
using JsonDocument result = JsonDocument.Parse(analyzeConversationOperation.Value.ToStream());
@@ -308,7 +315,6 @@ namespace Example
308315
}
309316
}
310317
}
311-
312318
```
313319

314320
### Output
@@ -317,9 +323,9 @@ namespace Example
317323
Conversations:
318324
Conversation: #1
319325
Summaries:
320-
Text: Customer tried to set up wifi connection for Smart Brew 300 coffee machine, but it didn't work
326+
Text: Customer is unable to set up wifi connection for Smart Brew 300 coffee machine.
321327
Aspect: issue
322-
Text: Asked customer to try the following steps | Asked customer for the power light | Helped customer to connect to the machine
328+
Text: The agent instructed the customer to press the wifi connection button, hold for 3 seconds, and check if the power light blinks. The agent also asked the customer to check if the Contoso Coffee app prompts to connect with the machine, but the issue persisted. The agent is looking for another way to fix the issue.
323329
Aspect: resolution
324330
```
325331

articles/virtual-machines/workloads/oracle/oracle-third-party-storage.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,22 @@ DBaaS is delivered as a managed database service, which means that the provider
2626

2727
## Lightbits: performance for Oracle on Azure VMs 
2828

29-
TheLightbits Cloud Data Platform provides scalable and cost-efficient high-performance storage that is easy to consume on Azure. It removes the bottlenecks associated with native storage on the public cloud, such as scalable performance and consistently low latency. Removing these bottlenecks offers rich data services and resiliency that enterprises rely on. It can deliver up to 1 million IOPS/volume and up to 3 million IOPs per VM. Lightbits cluster can scale vertically and horizontally. Lightbits support different sizes of Lsv3 and Lasv3 VMs for their clusters.
29+
The [Lightbits](https://www.lightbitslabs.com/azure/) Cloud Data Platform provides scalable and cost-efficient high-performance storage that is easy to consume on Azure. It removes the bottlenecks associated with native storage on the public cloud, such as scalable performance and consistently low latency. Removing these bottlenecks offers rich data services and resiliency that enterprises rely on. It can deliver up to 1 million IOPS/volume and up to 3 million IOPs per VM. Lightbits cluster can scale vertically and horizontally. Lightbits support different sizes of [Lsv3](../../lsv3-series.md) and [Lasv3](../../lasv3-series.md) VMs for their clusters.
3030

31-
For other options, see L32sv3/L32asv3: 7.68 TB, L48sv3/L48asv3: 11.52 TB, L64sv3/L64asv3: 15.36 TB, L80sv3/L80asv3: 19.20 TB.
31+
For other options, see L32sv3/L32asv3: 7.68 TB, L48sv3/L48asv3: 11.52 TB, L64sv3/L64asv3: 15.36 TB, L80sv3/L80asv3: 19.20 TB.
32+
In real-world workload test scenarios, Lightbits delivers more than 10X more IOPS than the best available Azure native storage (Ultra disk).
3233

33-
In real-world workload test scenarios, Lightbits delivers up to 4.6X more IOPS than the best available cloud native storage (EBS io2 Block Express), which reaches its limits at around 250 K IOPS. Lightbits on Azure delivers almost 1M sustained IPS of 8 KB while Ultra Disk is limited to only 80 K IOPS of 8 KB.
34+
The Lightbits Cloud Data Platform also provides synchronous replication across multiple availability zones, so you can have a dormant Oracle instance without starting it on a different zone, and if the zone fails, activate the database using the same Lightbits volumes that you used in the different zone without waiting for any log transfer.
35+
36+
The Lightbits Cloud Data Platform supports Oracle ASM and also supports shared raw block devices to use with Oracle RAC.
3437

3538
The following table provides other inputs to help you to determine the appropriate disk type.
3639

3740
| Parameter | Description |
3841
|-----------------------------|------------------------------|
3942
| Other | Flexible model at TiB granularity |
4043
| Provisioning Model | Incremental snapshot for fast restore; Snapshot export for hardening. |
41-
| [BCDR](/azure/cloud-adoption-framework/scenarios/oracle-iaas/oracle-disaster-recovery-oracle-landing-zone) | See redundancy capabilities of Azure Elastic SAN in redundancy requirements. |
44+
| [BCDR](/azure/cloud-adoption-framework/scenarios/oracle-iaas/oracle-disaster-recovery-oracle-landing-zone) | See redundancy capabilities of Lightbits in redundancy requirements. |
4245
| Redundancy & Scale Targets | Encryption at rest is supported. |
4346
| Encryption | Encryption at rest is supported. |
4447
## Tessel: Performance best practices for Oracle on Azure VMs 

0 commit comments

Comments
 (0)