diff --git a/sdk/textanalytics/ai-text-analytics/review/ai-text-analytics.api.md b/sdk/textanalytics/ai-text-analytics/review/ai-text-analytics.api.md index 2fbf29fedabb..7544dff1e708 100644 --- a/sdk/textanalytics/ai-text-analytics/review/ai-text-analytics.api.md +++ b/sdk/textanalytics/ai-text-analytics/review/ai-text-analytics.api.md @@ -91,9 +91,6 @@ export interface AnalyzeSentimentSuccessResult extends TextAnalyticsSuccessResul export interface AssessmentSentiment extends SentenceAssessment { } -// @public -export type Association = "subject" | "other"; - export { AzureKeyCredential } // @public @@ -114,12 +111,6 @@ export interface BeginAnalyzeHealthcareEntitiesOptions extends TextAnalyticsOper export interface CategorizedEntity extends Entity { } -// @public -export type Certainty = "Positive" | "Positive Possible" | "Neutral Possible" | "Negative Possible" | "Negative"; - -// @public -export type Conditionality = "Hypothetical" | "Conditional"; - // @public export interface DetectedLanguage { confidenceScore: number; @@ -217,20 +208,29 @@ export interface ExtractKeyPhrasesSuccessResult extends TextAnalyticsSuccessResu keyPhrases: string[]; } -// @public (undocumented) -export interface HealthcareAssertion { - association?: Association; - certainty?: Certainty; - conditionality?: Conditionality; -} - // @public export interface HealthcareEntity extends Entity { - assertion?: HealthcareAssertion; + assertion?: HealthcareEntityAssertion; dataSources: EntityDataSource[]; normalizedText?: string; } +// @public (undocumented) +export interface HealthcareEntityAssertion { + association?: HealthcareEntityAssociation; + certainty?: HealthcareEntityCertainty; + conditionality?: HealthcareEntityConditionality; +} + +// @public +export type HealthcareEntityAssociation = "subject" | "other"; + +// @public +export type HealthcareEntityCertainty = "Positive" | "PositivePossible" | "NeutralPossible" | "NegativePossible" | "Negative"; + +// @public +export type HealthcareEntityConditionality = "Hypothetical" | "Conditional"; + // @public export interface HealthcareEntityRelation { relationType: HealthcareEntityRelationType; diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts b/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts index 7ca8a6800d64..e65e0fcd1c0c 100644 --- a/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts +++ b/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts @@ -1102,9 +1102,9 @@ export type Conditionality = "Hypothetical" | "Conditional"; /** Defines values for Certainty. */ export type Certainty = | "Positive" - | "Positive Possible" - | "Neutral Possible" - | "Negative Possible" + | "PositivePossible" + | "NeutralPossible" + | "NegativePossible" | "Negative"; /** Defines values for Association. */ export type Association = "subject" | "other"; diff --git a/sdk/textanalytics/ai-text-analytics/src/index.ts b/sdk/textanalytics/ai-text-analytics/src/index.ts index 2801829576e8..881d3c9a5891 100644 --- a/sdk/textanalytics/ai-text-analytics/src/index.ts +++ b/sdk/textanalytics/ai-text-analytics/src/index.ts @@ -138,10 +138,10 @@ export { TokenSentimentValue, TextAnalyticsWarning, State as TextAnalyticsOperationStatus, - HealthcareAssertion, + HealthcareAssertion as HealthcareEntityAssertion, PiiCategory as PiiEntityCategory, - Association, - Certainty, - Conditionality, + Association as HealthcareEntityAssociation, + Certainty as HealthcareEntityCertainty, + Conditionality as HealthcareEntityConditionality, RelationType as HealthcareEntityRelationType } from "./generated/models";