Geting AI Error message: min_score is not a valid number.
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3524923. --> Reported by: [anjaliprasannan](https://www.drupal.org/user/3637917) Related to !608 !130 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>In the add ai agent form I tried testing the RAG/Vector Search tool and when I run function I am getting the error message: min_score is not a valid number. I tried changing the min_score and run function but it results with same error though there is results returned.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Set up a search api index in admin/config/search/search-api and index you content<br> Now create an agent at admin/structure/ai-agent<br> In the tools section search for RAG/vector Search tool and click on test this tool.<br> Now add the search api index machine name in the index field and add the search string.<br> Leave the min_score as 0.5 and click on run function button . </p> <p>The error message appears along with the response.<br> Try changing the min_score and run the function and find that even when there is no response the error message appears.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue