Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for Entity Recognition v3: remove / rename deprecated outputs and parameters #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pajawojciech
Copy link

Update JSON file to accommodate changes in Entity Recognition cognitive skill v3:

  • rename deprecated 'entities' output to namedEntities
  • remove 'includeTypelessEntities' parameter

V3 docs: https://learn.microsoft.com/en-us/azure/search/cognitive-search-skill-entity-recognition-v3
Discontinued v2 docs: https://learn.microsoft.com/en-us/azure/search/cognitive-search-skill-entity-recognition

…ve skill v3. Rename deprecated 'entities' output and remove 'includeTypelessEntities' parameter to ensure compatibility with new version v3.
@shirabayashi-msft
Copy link

shirabayashi-msft commented Feb 3, 2025

I have encountered the same issue on the week of Jan 27th 2025. Since this is preventing from updating the skillset, the final result will be having "top_words" to be blank. Please update the file accordingly.

Screenshot 2025-01-30 180852

Screenshot 2025-01-30 181247

Screenshot 2025-01-30 180552

Screenshot 2025-01-30 181351

Screenshot 2025-01-30 201323

Copy link

@mikerodionov mikerodionov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are correct changes, and they make update-search.cmd complete without errors, yet during my tests I saw that after update-search.cmd execution without any errors margies-custom-indexer is still failing with below error:

Operation: Web Api response has invalid content type 'text/html'. Expected 'application/json'
Message: Could not execute skill because Web Api skill response is invalid.
Details: Web Api response has invalid content type 'text/html'. Expected 'application/json'

It is a bit unclear why, but final result is that attempt to search in search explorer does not bring back any top words.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants