Angel Mayr
Angel Mayr6mo ago

Azure Embeddings Issue

Hi there, I need some help. I am trying to send messages from FlutterFlow through an API call to generate embeddings with Azure Embeddings Node. Additionally, I plan to use Azure AI Search for vector search purposes. My request body only contains one parameter named "input" (equivalent to "prompt"). The "prompt" is a JSON variable that captures the user's input, which I aim to convert into embeddings for the vector search in the subsequent node. However, I've encountered a problem where the embeddings node does not recognize the input, and as a result, it fails to generate the embeddings successfully. Please, help me
No description
No description
No description
No description
Solution:
Hi @Angel Mayr On taking a look at your workflow shared via support, I found that the type for content of OpenAI embedding node was wrong. It should be of only type string or array depending on the model used, as mentioned by Azure documentation. https://learn.microsoft.com/en-us/azure/ai-services/openai/reference. Also, sent you the fix via email....
No description
Jump to solution
1 Reply
Solution
Gaurav Chadha
Gaurav Chadha6mo ago
Hi @Angel Mayr On taking a look at your workflow shared via support, I found that the type for content of OpenAI embedding node was wrong. It should be of only type string or array depending on the model used, as mentioned by Azure documentation. https://learn.microsoft.com/en-us/azure/ai-services/openai/reference. Also, sent you the fix via email.
No description