when using AzureOpenAIEmbeddingSkill in azure AI search as per: https://learn.microsoft.com/en-us/azure/search/cognitive-search-skill-azure-openai-embedding I am getting the following error:
contains a skill of type \'Microsoft.Skills.Text.AzureOpenAIEmbeddingSkill\' which is not supported in this API version.
I am trying to create a skillset and get the data embedded using AzureOpenAIEmbeddingSkill.
Based on the documentation,
Azure OpenAI Embedding Skill
feature is supported in API version 2023-10-01-Preview.To fix the issue, use the updated API version.
Below is sample python code snippet:
With above code, I was able to create Azure OpenAI Embedding skillset.