The error message you’re seeing, 'embeddingEndpoint' is a required parameter for the AzureCognitiveSearch data source type, indicates that you need to include the ‘embeddingEndpoint’ parameter when configuring the Azure Cognitive Search data source for your application.
This parameter is required when you’re using the vectorSimpleHybrid query type, which combines both semantic and vector search. The ‘embeddingEndpoint’ should point to the endpoint of your embedding model.
Please replace 'YOUR_EMBEDDING_MODEL_ENDPOINT' with the actual endpoint of your embedding model2.
Here’s an example of how you can include this in your configuration:
"dataSources": [
{
"type": "AzureCognitiveSearch",
"parameters": {
"endpoint": "'YOUR_AZURE_COGNITIVE_SEARCH_ENDPOINT'",
"key": "'YOUR_AZURE_COGNITIVE_SEARCH_KEY'",
"indexName": "'YOUR_AZURE_COGNITIVE_SEARCH_INDEX_NAME'",
"embeddingEndpoint": "'YOUR_EMBEDDING_MODEL_ENDPOINT'"
}
}
]