Getting Error on Indexing with Milvus after upgrading to latest DEV-versions

Created on 8 December 2024, 13 days ago

Problem/Motivation

I upgraded to the latest release of ai-module and swapped out the deprecated VDB-provider with the ai_vdb_provider-milvus. Then I added a fresh "collection" called "default" with two fields id and embedding (FloatVector with dimension 1536). I have set text-embedding-ada-002 for embeddings.
The indexer errors out with the following error:
Exception: Failed to insert into collection: fail to deal the insert data, error: missing vector field: embedding: invalid parameter[expected=FloatVector][actual=] in Drupal\ai_vdb_provider_milvus\Plugin\VdbProvider\MilvusProvider->insertIntoCollection() (line 470 of /var/www/html/web/modules/contrib/ai_vdb_provider_milvus/src/Plugin/VdbProvider/MilvusProvider.php).
The field itself is in Milvus, I also added indexes for id and embedding-field in Attu, as well as loaded the collection.
Any help greatly appreciated, maybe I am missing something obvious there?

🐛 Bug report
Status

Active

Version

1.0

Component

AI Search

Created by

🇦🇹Austria roromedia Linz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024