Problem/Motivation
This module should be modified to be compatible with #3486166: AI Search: Pass metric type to vector search function which is needed by ai_vb_provider_postgress.
https://www.drupal.org/project/ai/issues/3486166#comment-15991371 :
"PHP message: PHP Fatal error: Declaration of Drupal\ai_vdb_provider_milvus\Plugin\VdbProvider\MilvusProvider::vectorSearch(string $collection_name, array $vector_input, array $output_fields, mixed $filters = '', int $limit = 10, int $offset = 0, string $database = 'default'): array must be compatible with Drupal\ai\AiVdbProviderInterface::vectorSearch(string $collection_name, array $vector_input, array $output_fields, Drupal\search_api\Query\QueryInterface $query, string $filters = '', int $limit = 10, int $offset = 0, string $database = 'default'): array in drupal-10.4.x/html/modules/contrib/ai_vdb_provider_milvus/src/Plugin/VdbProvider/MilvusProvider.php on line 597
Comments
Comment #2
socialnicheguru commented