Skip to content

Commit f24a49c

Browse files
authored
Merge pull request #273999 from MicrosoftDocs/main
5/1/2024 AM Publish
2 parents 23f0e25 + f3c2e25 commit f24a49c

File tree

105 files changed

+1509
-564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+1509
-564
lines changed

articles/ai-services/content-safety/quickstart-groundedness.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ This section walks through a sample request with cURL. Paste the command below i
5151
"groundingSources": [
5252
"I'm 21 years old and I need to make a decision about the next two years of my life. Within a week. I currently work for a bank that requires strict sales goals to meet. IF they aren't met three times (three months) you're canned. They pay me 10/hour and it's not unheard of to get a raise in 6ish months. The issue is, **I'm not a salesperson**. That's not my personality. I'm amazing at customer service, I have the most positive customer service \"reports\" done about me in the short time I've worked here. A coworker asked \"do you ask for people to fill these out? you have a ton\". That being said, I have a job opportunity at Chase Bank as a part time teller. What makes this decision so hard is that at my current job, I get 40 hours and Chase could only offer me 20 hours/week. Drive time to my current job is also 21 miles **one way** while Chase is literally 1.8 miles from my house, allowing me to go home for lunch. I do have an apartment and an awesome roommate that I know wont be late on his portion of rent, so paying bills with 20hours a week isn't the issue. It's the spending money and being broke all the time.\n\nI previously worked at Wal-Mart and took home just about 400 dollars every other week. So I know i can survive on this income. I just don't know whether I should go for Chase as I could definitely see myself having a career there. I'm a math major likely going to become an actuary, so Chase could provide excellent opportunities for me **eventually**."
5353
],
54-
"reasoning": False
54+
"reasoning": false
5555
}'
5656
```
5757

@@ -79,7 +79,7 @@ Create a new Python file named _quickstart.py_. Open the new file in your prefer
7979
"groundingSources": [
8080
"I'm 21 years old and I need to make a decision about the next two years of my life. Within a week. I currently work for a bank that requires strict sales goals to meet. IF they aren't met three times (three months) you're canned. They pay me 10/hour and it's not unheard of to get a raise in 6ish months. The issue is, **I'm not a salesperson**. That's not my personality. I'm amazing at customer service, I have the most positive customer service \"reports\" done about me in the short time I've worked here. A coworker asked \"do you ask for people to fill these out? you have a ton\". That being said, I have a job opportunity at Chase Bank as a part time teller. What makes this decision so hard is that at my current job, I get 40 hours and Chase could only offer me 20 hours/week. Drive time to my current job is also 21 miles **one way** while Chase is literally 1.8 miles from my house, allowing me to go home for lunch. I do have an apartment and an awesome roommate that I know wont be late on his portion of rent, so paying bills with 20hours a week isn't the issue. It's the spending money and being broke all the time.\n\nI previously worked at Wal-Mart and took home just about 400 dollars every other week. So I know i can survive on this income. I just don't know whether I should go for Chase as I could definitely see myself having a career there. I'm a math major likely going to become an actuary, so Chase could provide excellent opportunities for me **eventually**."
8181
],
82-
"reasoning": False
82+
"reasoning": false
8383
})
8484
headers = {
8585
'Ocp-Apim-Subscription-Key': '<your_subscription_key>',
@@ -312,13 +312,13 @@ After you submit your request, you'll receive a JSON response reflecting the Gro
312312
{
313313
"text": "12/hour.",
314314
"offset": {
315-
"utF8": 0,
316-
"utF16": 0,
315+
"utf8": 0,
316+
"utf16": 0,
317317
"codePoint": 0
318318
},
319319
"length": {
320-
"utF8": 8,
321-
"utF16": 8,
320+
"utf8": 8,
321+
"utf16": 8,
322322
"codePoint": 8
323323
},
324324
"reason": "None. The premise mentions a pay of \"10/hour\" but does not mention \"12/hour.\" It's neutral. "

articles/ai-services/translator/custom-translator/concepts/workspace-and-project.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: This article will explain the differences between a workspace and a
66
author: laujan
77
manager: nitinme
88
ms.service: azure-ai-translator
9-
ms.date: 07/18/2023
9+
ms.date: 05/01/2024
1010
ms.author: lajanuar
1111
ms.topic: conceptual
1212
ms.custom: cogserv-non-critical-translator
@@ -31,8 +31,6 @@ that is used when querying the [V3 API](../../reference/v3-0-translate.md?tabs=c
3131

3232
The category identifies the domain – the area of terminology and style you want to use – for your project. Choose the category most relevant to your documents. In some cases, your choice of the category directly influences the behavior of the Custom Translator.
3333

34-
We have two sets of baseline models. They're General and Technology. If the category **Technology** is selected, the Technology baseline models will be used. For any other category selection, the General baseline models are used. The Technology baseline model does well in technology domain, but it shows lower quality, if the sentences used for translation don't fall within the technology domain. We suggest customers select category Technology only if sentences fall strictly within the technology domain.
35-
3634
In the same workspace, you may create projects for the same language pair in
3735
different categories. Custom Translator prevents creation of a duplicate project
3836
with the same language pair and category. Applying a label to your project

0 commit comments

Comments
 (0)