Cognitive Search with NER and indexer

CVinter 1 Reputation point
2022-08-15T15:40:23.187+00:00

Hi.
I'm trying to use this tutorial https://learn.microsoft.com/en-us/azure/cognitive-services/language-service/custom-named-entity-recognition/tutorials/cognitive-search?tabs=Language-studio for using a custom NER model inside Cognitive Search.

Following the very, very detailed tutorial goes great until the very last item on the page, where it seems like the writer became more busy.

We're told to enter this command into the CLI:

indexer index --index-name <name-your-index-here> --configs <absolute-path-to-configs-file>  

I substitute the values as directed and I've updated to the latest CLI, and also attempted to enter the command in the Azure portal. I also tried logging in to Azure first (az login) - all with the same result:
indexer : The term 'indexer' is not recognized as the name of a cmdlet, function, script file, or operable program.

Does anyone have any idea? How do I get that command to work?

Thanks for any help!
-CV

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
354 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,374 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,616 Reputation points
    2022-08-24T02:40:16.89+00:00

    @CVinter we are updating the experience, you can start using it now here : azure-search-power-skills/Text/CustomNER at main · Azure-Samples/azure-search-power-skills (github.com)

    To explore your issue, you will need to download the indexer executable as documented here (CognitiveServicesLanguageUtilities/CustomTextAnalytics.CognitiveSearch at main · microsoft/CognitiveServicesLanguageUtilities (github.com))

    After downloading, either:
    run tool manually:
    open powershell/cmd
    cd to your cli tool directory
    and run command
    run automatically
    add the cli tool directory to your PATH environment variable

    0 comments No comments