Skip to content

Commit

Permalink
fixed the issue that context is missing for EntityRecognitionSkill (#…
Browse files Browse the repository at this point in the history
…34629)

* fixed the issue that context is missing for EntityRecognitionSkill

* update changelog
  • Loading branch information
xiangyan99 committed Mar 6, 2024
1 parent ad990bd commit aaa66c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions sdk/search/azure-search-documents/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### Bugs Fixed

- Fixed the issue that `SearchIndexerSkillset`, `SearchField`, `SearchIndex`, `AnalyzeTextOptions`, `SearchResourceEncryptionKey`, `SynonymMap`, `SearchIndexerDataSourceConnection` could not be serialized and `as_dict` did not work.
- Fixed the issue that `context` was missing for `EntityRecognitionSkill` and `SentimentSkill`. #34623

### Other Changes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ def _to_generated(self):
inputs=self.inputs,
outputs=self.outputs,
name=self.name,
description=self.description,
context=self.context,
odata_type=self.odata_type,
categories=self.categories,
default_language_code=self.default_language_code,
Expand Down Expand Up @@ -407,6 +409,8 @@ def _to_generated(self):
inputs=self.inputs,
outputs=self.outputs,
name=self.name,
description=self.description,
context=self.context,
odata_type=self.odata_type,
default_language_code=self.default_language_code,
include_opinion_mining=self.include_opinion_mining,
Expand Down

0 comments on commit aaa66c5

Please sign in to comment.