Milvius plugin does not exist

Created on 26 September 2024, 7 months ago

Problem/Motivation

Error when you save the milvius config : Drupal\Component\Plugin\Exception\PluginNotFoundException: The "milvus" plugin does not exist. Valid plugin IDs for Drupal\ai\AiVdbProviderPluginManager are: in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

Steps to reproduce

Tested on Drupal 10.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

AI Search

Created by

🇫🇷France eme

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

Comments & Activities

  • Issue created by @eme
  • 🇩🇪Germany marcus_johansson

    Could you write the steps you did to get to this state? I can't replicate it.

  • 🇬🇧United Kingdom scott_euser

    Would be good to have a more complete stack trace as well (if you turn on verbose errors in settings.local.php). Thanks!

  • 🇫🇷France eme

    Yes of course. Trace attached. On which Drupal version do you work ? 11 ?

  • 🇬🇧United Kingdom scott_euser

    I develop on 11 but 10.3 is also fine. Please pull latest dev as a lot has changed since you opened the issue.

    Please check that you have sub module vdb provider milvus installed.

  • 🇫🇷France eme

    Ok, fixed with latest dev version. Thx !

  • 🇬🇧United Kingdom scott_euser

    Great to hear!

  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Status changed to Fixed about 1 month ago
  • 🇳🇱Netherlands robertragas

    I want to add to this issue that I'm still facing this on Drupal Core 10.3, but also on the dev version

    Maybe that my HTT can help in reproducing it, as it seems to be depending on how you install the modules.

    Requirements:
    - ai on 1.1.x-dev with datestamp 1741688380 (which is the latest dev release on the releases page speaking of now)
    - ai_search (comes with the ai)
    - ai_vdb_provider_milvus on 1.0.0-beta2 (note that I had to change the vectorSearch method in MilvusProvider.php line 597 otherwise the method is not compatible with the base method that I guess changed in the dev version of AI).

    HTT
    1. Enable the ai module
    2. Browse to your platform -> login -> and create a key for your zilliz.
    3. Enable ai_vdb_provider_milvus (which also enables the sub-dependency ai_search)
    4. Navigate to the milvus page on /admin/config/ai/vdb_providers/milvus
    5. Fill in the information and submit to see the error message

    Extra note:
    If I would enable ai_vdb_provider_milvus from the start where it would automatically install it's dependencies then it would work correctly.

  • 🇩🇪Germany marcus_johansson

    ah @robertragas - we just merge in a breaking change into the 1.1.x-dev release. I will update Milvus and Pinecone with 1.1.x releases as well.

    It should be done by end of day.

  • 🇩🇪Germany marcus_johansson

    There should be a Milvus 1.1.x-dev release with the latest interface available.

Production build 0.71.5 2024