Skip to content

Azure.AI.Language.QuestionAnswering_1.0.0

Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 03 Nov 17:32
04b28e3

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 to Azure.AI.Language.QuestionAnswering.
  • Renamed method QuestionAnsweringClient.QueryKnowledgeBase to GetAnswers.
  • Renamed method QuestionAnsweringClient.QueryKnowledgeBaseAsync to GetAnswersAsync.
  • Methods GetAnswers and GetAnswersAsync now accept a question string or QnA ID, a QuestionAnsweringProject, and optional AnswersOptions parameters.
  • Moved parameters projectName and deploymentName to the new QuestionAnsweringProject class.
  • Renamed class QueryKnowledgeBaseOptions to AnswersOptions.
  • Renamed property QueryKnowledgeBaseOptions.AnswerSpanRequest to AnswersOptions.ShortAnswerOptions.
  • Renamed property QueryKnowledgeBaseOptions.ConfidenceScoreThreshold to AnswersOptions.ConfidenceThreshold.
  • Renamed property QueryKnowledgeBaseOptions.Context to AnswersOptions.AnswerContext.
  • Renamed property QueryKnowledgeBaseOptions.RankerType to AnswersOptions.RankerKind.
  • Renamed property QueryKnowledgeBaseOptions.Top to AnswersOptions.Size.
  • Renamed method QuestionAnsweringClient.QueryText to GetAnswersFromText.
  • Renamed method QuestionAnsweringClient.QueryTextAsync to GetAnswersFromTextAsync.
  • Renamed class QueryTextOptions to AnswersFromTextOptions.
  • Renamed property QueryTextOptions.Records to AnswersFromTextOptions.TextDocuments.
  • Renamed class TextRecord to TextDocument.
  • Renamed class AnswerSpanRequest to ShortAnswerOptions.
  • Renamed property AnswerSpanRequest.ConfidenceScoreThreshold to ShortAnswerOptions.ConfidenceThreshold.
  • Renamed property AnswerSpanRequest.TopAnswersWithSpan to ShortAnswersOptions.Size.
  • Renamed class KnowledgeBaseAnswerRequestContext to KnowledgeBaseAnswerContext.
  • Renamed property KnowledgeBaseAnswerRequestContext.PreviousUserQuery to KnowledgeBaseAnswerContext.PreviousQuestion.
  • Renamed class KnowledgeBaseAnswers to AnswersResult.
  • Renamed class TextAnswers to AnswersFromTextResult.
  • Renamed property KnowledgeBaseAnswer.AnswerSpan to KnowledgeBaseAnswer.ShortAnswer.
  • Renamed property KnowledgeBaseAnswer.ConfidenceScore to KnowledgeBaseAnswer.Confidence.
  • Renamed property KnowledgeBaseAnswer.Id to KnowledgeBaseAnswer.QnaId.
  • Renamed property AnswerSpan.ConfidenceScore has been renamed to AnswerSpan.Confidence.
  • Renamed property TextAnswer.ConfidenceScore has been renamed to TextAnswer.confidence.
  • Renamed property TextAnswer.AnswerSpan has been renamed to TextAnswer.ShortAnswer.
  • Removed class StringIndexType. Hard-coded to "Utf16CodeUnit" for .NET.