"context" parameter automatically set back to default value when using the python sdk #34623
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
issue-addressed
The Azure SDK team member assisting with this issue believes it to be addressed and ready to close.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Search
Type of issue
Code doesn't work
Description
I am managing my Azure AI skillset via the python SDK. When using the EntityRecognitionSkill, I set the context parameter of the class to "/document/pages/*", since I want the Entity Extraction for each page of the document.
When I use the create_or_update_skillset method of the SearchIndexerClient class to update my skillset it will throw no errors, but the context parameter of the Entity Recognition Skill will be set back to its default value "/document", which I can see in the json of the skillset displayed in the Azure Portal. I have to change it manually in the Portal, s.t. the skill will be executed without error when indexing.
Page URL
https://learn.microsoft.com/en-us/python/api/azure-search-documents/azure.search.documents.indexes.models.entityrecognitionskill?view=azure-python
Content source URL
https://github.com/MicrosoftDocs/azure-docs-sdk-python/blob/main/docs-ref-autogen/azure-search-documents/azure.search.documents.indexes.models.EntityRecognitionSkill.yml
Document Version Independent Id
3a3ff14f-2b0e-c83f-0e51-f48136ff7a15
Article author
@lmazuel
Metadata
The text was updated successfully, but these errors were encountered: