Hi there,
I am using the HTTP connector for calls to the OpenAI API on Azure. It works great.
I am now trying to add in the JSON files "Datasources" to leverage Azure Cognitive Search.
{
"dataSources": [
{
"type": "AzureCognitiveSearch",
"parameters": {
"endpoint": "https://XXXXXXXXXXXXXXX.search.windows.net",
"key": "XXXXXXXXXXXXXXXXXXXXXXX",
"indexName": "XXXXXXXX"
}
}
],
"messages": [
{
"role": "system",
"content": "You are a Digital Assistant ........"
},
{
"role": "user",
"content": "@{variables('text')}. Write an @{variables('media')}"
}
],
"temperature": 0.5,
"top_p": 0.95,
"frequency_penalty": 0,
"presence_penalty": 0,
"max_tokens": 800,
"stop": null
}
I got an error when running the automation: "Unrecognized request argument supplied: dataSources".
ref: Using your data with Azure OpenAI Service - Azure OpenAI | Microsoft Learn
any clue?
thanks
Jerome