Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typo issues. #40

Merged
merged 1 commit into from
Jan 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions specification/cognitiveservices/ContentSafety/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -542,15 +542,15 @@ enum Task {
@added(Versions.v2023_10_30_Preview)
@doc("Connection details for the GPT resource.")
model GptResource {
@doc("Endpoint of Azure OpenAI resource.")
@doc("Endpoint for Azure OpenAI resource.")
azureOpenAIEndpoint: string;

@doc("Deployment model name.")
deploymentName: string;
}

@added(Versions.v2023_10_30_Preview)
@doc("The request of ungroudedness detection.")
@doc("The request of ungroundedness detection.")
model DetectUngroundednessOptions {
@doc("""
The domain of the text for analysis.
Expand All @@ -566,7 +566,7 @@ model DetectUngroundednessOptions {

@doc("""
The user's question input in a QnA scenario.
This field is optional, but if the Task type is set to QnA, it becomes required.
This field is optional, but if the task type is set to QnA, it becomes required.
""")
query?: string;

Expand Down Expand Up @@ -597,15 +597,15 @@ model UngroundedDetails {

@doc("""
The explanation for identifying the text as ungrounded.
Only when the 'reasoning' field in the input is set to true will the API return this 'reason' field.
Only when the 'reasoning' field in the input is set to true 'reason' field will be returned.
""")
reason?: string;
}

@added(Versions.v2023_10_30_Preview)
@doc("The response of ungroudedness detection.")
@doc("The response of ungroundedness detection.")
model DetectUngroundednessResult {
@doc("Detection result for ungrouded text.")
@doc("Detection result for ungrounded text.")
ungrounded: boolean;

@doc("Confidence score of the model in the analysis results.")
Expand Down