AiVdbProviderClientBase depends on classes in the ai_search submodule
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3535939. -->
Reported by: [kim.pepper](https://www.drupal.org/user/370574)
Related to !796
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p><code>\Drupal\ai\Base\AiVdbProviderClientBase </code>is in the AI core module, but can only be used if the <code>ai_search</code> submodule is also enabled because it requires the following classes/interfaces:</p>
<ul>
<li><code>Drupal\ai_search\AiVdbProviderSearchApiInterface</code></li>
<li><code>Drupal\ai_search\EmbeddingStrategyInterface</code></li>
<li> <code>Drupal\ai_search\Plugin\Exception\EmbeddingStrategyException</code></li>
</ul>
<h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>We should either move this under the <code>ai_search</code> submodule or remove this dependency.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3>Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)</h3>
issue