github Azure/azure-sdk-for-python azure-ai-language-questionanswering_1.0.0

latest releases: azure-mgmt-containerservice_33.0.0, azure-monitor-opentelemetry_1.6.4, azure-core-tracing-opencensus_1.0.0b10...
3 years ago

1.0.0 (2021-11-03)

  • We are now targeting service version 2021-10-01

Breaking Changes

  • Method QuestionAnsweringClient.query_knowledge_base has been renamed to get_answers
  • Method QuestionAnsweringClient.query_text has been renamed to get_answers_from_text
  • Model QueryKnowledgeBaseOptions has been renamed to AnswersOptions
  • Method kwarg and model property QueryKnowledgeBaseOptions.confidence_score_threshold has been renamed to AnswersOptions.confidence_threshold
  • Method kwarg and model property QueryKnowledgeBaseOptions.answer_span_request has been renamed to AnswersOptions.short_answer_options
  • Method kwarg and model property QueryKnowledgeBaseOptions.ranker_type has been renamed to AnswersOptions.ranker_kind
  • Method kwarg and model property QueryKnowledgeBaseOptions.context has been renamed to AnswersOptions.answer_context
  • Model QueryTextOptions has been renamed to AnswersFromTextOptions
  • Method kwarg and model property QueryTextOptions.records has been renamed to AnswersFromTextOptions.text_documents
  • Model AnswerSpanRequest has been renamed to ShortAnswerOptions
  • Model property AnswerSpanRequest.confidence_score_threshold has been renamed to ShortAnswerOptions.confidence_threshold
  • Model property AnswerSpanRequest.top_answers_with_span has been renamed to ShortAnswerOptions.top
  • Model KnowledgeBaseAnswerRequestContext has been renamed to KnowledgeBaseAnswerContext
  • Model property KnowledgeBaseAnswerRequestContext.previous_user_query has been renamed to KnowledgeBaseAnswerContext.previous_question
  • Model TextRecord has been renamed to TextDocument
  • Model KnowledgeBaseAnswers has been renamed to AnswersResult
  • Model TextAnswers has been renamed to AnswersFromTextResult
  • Model property KnowledgeBaseAnswer.answer_span has been renamed to KnowledgeBaseAnswer.short_answer
  • Model property KnowledgeBaseAnswer.id has been renamed to KnowledgeBaseAnswer.qna_id
  • Model property KnowledgeBaseAnswer.confidence_score has been renamed to KnowledgeBaseAnswer.confidence
  • Model property AnswerSpan.confidence_score has been renamed to AnswerSpan.confidence
  • Model property TextAnswer.confidence_score has been renamed to TextAnswer.confidence
  • Model property TextAnswer.answer_span has been renamed to TextAnswer.short_answer
  • Enums LogicalOperationKind and RankerType have been removed
  • The operations and aio.operations namespaces are no longer public

Bugs Fixed

  • Fixed formating of MetadataFilter.metadata

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

NewReleases is sending notifications on new releases.