github Azure/azure-sdk-for-net Azure.AI.Language.QuestionAnswering_1.0.0

latest releases: Microsoft.Extensions.Azure_1.8.0, Azure.Developer.MicrosoftPlaywrightTesting.NUnit_1.0.0-beta.2, Azure.Developer.MicrosoftPlaywrightTesting.TestLogger_1.0.0-beta.2...
3 years ago

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.

Don't miss a new azure-sdk-for-net release

NewReleases is sending notifications on new releases.