- Issue created by @wouters_f
- Status changed to Needs work
5 months ago 4:00pm 15 July 2024 - 🇧🇪Belgium wouters_f Leuven
Remarks
1 this is dependant on a module that provides the embeddings. And that embedding plugin should have
/** * {@inheritdoc} */ public static function getAzureDataType(): string { return 'Collection(Edm.Single)'; } /** * {@inheritdoc} */ public static function isCollection(): bool { return TRUE; }
I've tested this with search_api_ai and it's embedding plugin and this works.
2 we're not consuming the vectors in this system
but that is not the goal.The algorithm is not configurable yet.
Currently we're hardcoded using'name' => 'drupal-vector-config-1', 'kind' => 'hnsw', 'hnswParameters' => [ 'm' => 4, 'efConstruction' => 400, 'efSearch' => 500, 'metric' => 'cosine', ],
- 🇧🇪Belgium interx Flanders
Thanks for the report and the MR!
We have vector fields on the roadmap in a later satge
The MR is currently not complete/ready for merge, but we'll see how we can integrate it in a generic yet flexible fashion.