@BAHADIR ARAZ Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
Your line "typegit log": "AzureCognitiveSearch"
is incorrect. It should be "type": "AzureCognitiveSearch"
.
Please see the sample code below:
dataSources=[ # camelCase is intentional, as this is the format the API expects
{
"type": "AzureCognitiveSearch",
"parameters": {
"endpoint": os.environ.get("SearchEndpoint"),
"key": os.environ.get("SearchKey"),
"indexName": os.environ.get("SearchIndex"),
}
}
More info here. Hope this helps.
** Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.