Geting Error message: min_score is not a valid number.

Created on 16 May 2025, 20 days ago

Problem/Motivation

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.

Steps to reproduce

Set up a search api index in admin/config/search/search-api and index you content
Now create an agent at admin/structure/ai-agent
In the tools section search for RAG/vector Search tool and click on test this tool.
Now add the search api index machine name in the index field and add the search string.
Leave the min_score as 0.5 and click on run function button .

The error message appears along with the response.
Try changing the min_score and run the function and find that even when there is no response the error message appears.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇮🇳India anjaliprasannan

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