- Issue created by @lpeabody
Compatibility with 1.1.x series of AI module. The 1.1.x series is the new direction of the AI module and I believe the maintainers have stated there will be no BC support with the 1.0.x series.
I ran into the following error, which is likely a hangover from implementing against the 1.0.x series.
Fatal error: Declaration of Drupal\ai_vdb_provider_opensearch\Plugin\VdbProvider\OpensearchProvider::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 /opt/drupal/web/modules/contrib/ai_vdb_provider_opensearch/src/Plugin/VdbProvider/OpensearchProvider.php on line 609
Active
1.0
Code