Chatbot truncates 'search_string' context value while tool explorer does not
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3547304. -->
Reported by: [kevinquillen](https://www.drupal.org/user/317279)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>I can't quite figure this one out, but the search_string pulled from context in the chatbot is truncated vs the tools explorer. The tools explorer passes the entire 'search string' for the RAG tool, but when used in the AI Chatbot its cut down to what looks like just the predicate or a couple of words.</p>
<p>For example:</p>
<blockquote><p>Do you have content on severe snowstorms for sixth graders?</p></blockquote>
<p>is passed along as:</p>
<blockquote><p>severe snowstorms for sixth graders</p></blockquote>
<p>in the chatbot, but the tool explorer passes it along in its complete state. Under RAG conditions this can present wildly varying results. How is it doing that?</p>
issue