n8n – The response was filtered due to the prompt triggering Azure OpenAI’s content management policy

I started playing with n8n.io, specifically with the “My first AI Agent in n8n” workflow that comes OOTB.

I didn’t have OpenAI subscription, but I do have an Azure subscription and Azure OpenAI deployment to play with, so I replaced the “standard” OpenAI node with the Azure OpenAI one.

But when I started the execution, the Azure OpenAI Chat Model node threw an exception, straight in my face: “The response was filtered due to the prompt triggering Azure OpenAI’s content management policy.”.

Continue reading n8n – The response was filtered due to the prompt triggering Azure OpenAI’s content management policy

“Create a Custom Skill for Azure AI Search” lab fails

I tried to follow the “Create a Custom Skill for Azure AI Search” but it failed with this error “The request is invalid. Details: The property ‘includeTypelessEntities’ does not exist on type ‘Microsoft.Skills.Text.V3.EntityRecognitionSkill’. Make sure to only use property names that are defined by the type.”

Continue reading “Create a Custom Skill for Azure AI Search” lab fails

My first GenAI use-case

A couple of months ago my wife asked me if I could build her “something” to create a nice image with some thank-you text that she could send to her boutique customers. This is how my first GenAI use-case was born :-).

There are probably definitely services that can do it, but hey that was an opportunity to learn, so I jumped straight into it.

The Gen AI part turned out to be the easy one, but if you want to skip the rest you can jump straight to it.

Continue reading My first GenAI use-case

Getting ImageAnalysisResultDetails in Azure AI Vision Python SDK

Getting ImageAnalysisResultDetails in Azure AI Vision Python SDK.

Sometimes when using Azure AI Python SDK you will not get the expected result, meaning that the reason property of the result of the analyze method of the ImageAnalyzer class the property will not be equal to sdk.ImageAnalysisResultReason.ANALYZED.

Phew, that’s a mouthful, easier to show it code:

Continue reading Getting ImageAnalysisResultDetails in Azure AI Vision Python SDK

Infrequent Smarts by Reshetnikov