Release History
1.1.1 (Unreleased)
Features Added
Breaking Changes
Bugs Fixed
Other Changes
1.1.0 (2022-10-13)
Breaking Changes
These changes do not impact the API of stable versions such as 1.0.0. Only code written against a beta version such as 1.1.0b2 may be affected
QuestionAnsweringProjectsClient
was renamed toAuthoringClient
.- The
azure.ai.language.questionanswering.projects
namespace was renamed toazure.ai.language.questionanswering.authoring
- Authoring client methods:
begin_deploy_project
,begin_import_assets
,begin_update_sources
andbegin_update_qnas
now return a response upon completion of the long-running operation. - Keyword argument
format
renamed tofile_format
forbegin_export
andbegin_import_assets
.
Bugs Fixed
- Fixed a bug where the client-level keyword argument
default_language
was not being honored forget_answers_from_text
.
Other Changes
- Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, see Azure SDK for Python version support policy.
- Dropped dependency on
msrest
.
1.1.0b2 (2022-07-19)
Features Added
- Added Azure Active Directory (AAD) authentication support
Other Changes
- Python 2.7 is no longer supported. Please use Python version 3.6 or later.
1.1.0b1 (2022-02-08)
Features Added
- Added
QuestionAnsweringProjectsClient
for managing Qna projects. Performing project operations such as create, delete, export, and import project, as well as knowledge sources operations such as adding or listing knowledge sources, Qnas, and synonyms.
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 toget_answers
- Method
QuestionAnsweringClient.query_text
has been renamed toget_answers_from_text
- Model
QueryKnowledgeBaseOptions
has been renamed toAnswersOptions
- Method kwarg and model property
QueryKnowledgeBaseOptions.confidence_score_threshold
has been renamed toAnswersOptions.confidence_threshold
- Method kwarg and model property
QueryKnowledgeBaseOptions.answer_span_request
has been renamed toAnswersOptions.short_answer_options
- Method kwarg and model property
QueryKnowledgeBaseOptions.ranker_type
has been renamed toAnswersOptions.ranker_kind
- Method kwarg and model property
QueryKnowledgeBaseOptions.context
has been renamed toAnswersOptions.answer_context
- Model
QueryTextOptions
has been renamed toAnswersFromTextOptions
- Method kwarg and model property
QueryTextOptions.records
has been renamed toAnswersFromTextOptions.text_documents
- Model
AnswerSpanRequest
has been renamed toShortAnswerOptions
- Model property
AnswerSpanRequest.confidence_score_threshold
has been renamed toShortAnswerOptions.confidence_threshold
- Model property
AnswerSpanRequest.top_answers_with_span
has been renamed toShortAnswerOptions.top
- Model
KnowledgeBaseAnswerRequestContext
has been renamed toKnowledgeBaseAnswerContext
- Model property
KnowledgeBaseAnswerRequestContext.previous_user_query
has been renamed toKnowledgeBaseAnswerContext.previous_question
- Model
TextRecord
has been renamed toTextDocument
- Model
KnowledgeBaseAnswers
has been renamed toAnswersResult
- Model
TextAnswers
has been renamed toAnswersFromTextResult
- Model property
KnowledgeBaseAnswer.answer_span
has been renamed toKnowledgeBaseAnswer.short_answer
- Model property
KnowledgeBaseAnswer.id
has been renamed toKnowledgeBaseAnswer.qna_id
- Model property
KnowledgeBaseAnswer.confidence_score
has been renamed toKnowledgeBaseAnswer.confidence
- Model property
AnswerSpan.confidence_score
has been renamed toAnswerSpan.confidence
- Model property
TextAnswer.confidence_score
has been renamed toTextAnswer.confidence
- Model property
TextAnswer.answer_span
has been renamed toTextAnswer.short_answer
- Enums
LogicalOperationKind
andRankerType
have been removed - The
operations
andaio.operations
namespaces are no longer public
Bugs Fixed
- Fixed formating of
MetadataFilter.metadata
1.0.0b2 (2021-10-06)
- We are now targeting service version
2021-07-15-preview
Breaking changes
- The method
QuestionAnsweringClient.query_knowledgebase
has been renamed toquery_knowledge_base
. - Options bag model
KnowledgeBaseQueryOptions
forquery_knowledge_base
is renamed toQueryKnowledgeBaseOptions
- Options bag model
TextQueryOptions
forquery_text
is renamed toQueryTextOptions
- The filters model
StrictFilters
is renamed toQueryFilters
- Enum
CompoundOperationKind
is renamed toLogicalOperationKind
- We have removed the
string_index_type
input to all models and operations. We have also removed theStringIndexType
enum. - The type of input
metadata
toMetadataFilter
has changed from a dictionary of strings to a list of key-value tuples. For example, the input has changed from{"key": "value"}
to[("key", "value")]
. - The input to the
query_knowledge_base
andquery_text
overloads that take in a positional model for the body should be considered positional only.
Features Added
- The method
QuestionAnsweringClient.query_text
now supports a list of records as strings, where the ID value will be automatically populated. - Added keyword argument
default_language
ontoQuestionAnsweringClient
, which has default value'en'
. The default language for any operation call will be this default language value.
1.0.0b1 (2021-07-27)
Features Added
- Initial release - supports querying from text records and knowledge bases.