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