1.0.0 (2021-11-03)
This version of the client library targets service version 2021-10-01
.
Breaking Changes
- Preview service versions
2021-05-01-preview
and 2021-07-15-preview` were removed. - Moved all models from
Azure.AI.Language.QuestionAnswering.Models
toAzure.AI.Language.QuestionAnswering
. - Renamed method
QuestionAnsweringClient.QueryKnowledgeBase
toGetAnswers
. - Renamed method
QuestionAnsweringClient.QueryKnowledgeBaseAsync
toGetAnswersAsync
. - Methods
GetAnswers
andGetAnswersAsync
now accept a question string or QnA ID, aQuestionAnsweringProject
, and optionalAnswersOptions
parameters. - Moved parameters
projectName
anddeploymentName
to the newQuestionAnsweringProject
class. - Renamed class
QueryKnowledgeBaseOptions
toAnswersOptions
. - Renamed property
QueryKnowledgeBaseOptions.AnswerSpanRequest
toAnswersOptions.ShortAnswerOptions
. - Renamed property
QueryKnowledgeBaseOptions.ConfidenceScoreThreshold
toAnswersOptions.ConfidenceThreshold
. - Renamed property
QueryKnowledgeBaseOptions.Context
toAnswersOptions.AnswerContext
. - Renamed property
QueryKnowledgeBaseOptions.RankerType
toAnswersOptions.RankerKind
. - Renamed property
QueryKnowledgeBaseOptions.Top
toAnswersOptions.Size
. - Renamed method
QuestionAnsweringClient.QueryText
toGetAnswersFromText
. - Renamed method
QuestionAnsweringClient.QueryTextAsync
toGetAnswersFromTextAsync
. - Renamed class
QueryTextOptions
toAnswersFromTextOptions
. - Renamed property
QueryTextOptions.Records
toAnswersFromTextOptions.TextDocuments
. - Renamed class
TextRecord
toTextDocument
. - Renamed class
AnswerSpanRequest
toShortAnswerOptions
. - Renamed property
AnswerSpanRequest.ConfidenceScoreThreshold
toShortAnswerOptions.ConfidenceThreshold
. - Renamed property
AnswerSpanRequest.TopAnswersWithSpan
toShortAnswersOptions.Size
. - Renamed class
KnowledgeBaseAnswerRequestContext
toKnowledgeBaseAnswerContext
. - Renamed property
KnowledgeBaseAnswerRequestContext.PreviousUserQuery
toKnowledgeBaseAnswerContext.PreviousQuestion
. - Renamed class
KnowledgeBaseAnswers
toAnswersResult
. - Renamed class
TextAnswers
toAnswersFromTextResult
. - Renamed property
KnowledgeBaseAnswer.AnswerSpan
toKnowledgeBaseAnswer.ShortAnswer
. - Renamed property
KnowledgeBaseAnswer.ConfidenceScore
toKnowledgeBaseAnswer.Confidence
. - Renamed property
KnowledgeBaseAnswer.Id
toKnowledgeBaseAnswer.QnaId
. - Renamed property
AnswerSpan.ConfidenceScore
has been renamed toAnswerSpan.Confidence
. - Renamed property
TextAnswer.ConfidenceScore
has been renamed toTextAnswer.confidence
. - Renamed property
TextAnswer.AnswerSpan
has been renamed to TextAnswer.ShortAnswer
. - Removed class
StringIndexType
. Hard-coded to "Utf16CodeUnit" for .NET.