in Elastic.SemanticKernel.Connectors.Elasticsearch/Internal/Helpers/VectorStoreErrorHandler.cs [27:42]
public static T RunModelConversion<T>(string databaseSystemName, string collectionName, string operationName, Func<T> operation)
{
try
{
return operation.Invoke();
}
catch (Exception ex)
{
throw new VectorStoreRecordMappingException("Failed to convert vector store record.", ex)
{
VectorStoreType = databaseSystemName,
CollectionName = collectionName,
OperationName = operationName
};
}
}