<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk MLTK ai Prompt Testing in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-MLTK-ai-Prompt-Testing/m-p/749286#M82092</link>
    <description>&lt;P&gt;The &amp;lt;SPLUNK_HOME&amp;gt;/var/log/splunk/mlspl.log may give you more details about the error.&lt;/P&gt;</description>
    <pubDate>Sun, 06 Jul 2025 06:08:12 GMT</pubDate>
    <dc:creator>ilya_resh</dc:creator>
    <dc:date>2025-07-06T06:08:12Z</dc:date>
    <item>
      <title>Splunk MLTK ai Prompt Testing</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-MLTK-ai-Prompt-Testing/m-p/749014#M82065</link>
      <description>&lt;P&gt;I am trying to use the ai prompt in Splunk Machine Learning Toolkit 5.6.0 in order to use Llama Guard Model 4,note that it does not require an access token for it. I am trying to test out the following prompt and I keep getting the following error. Please assist with any help or any correct format to test for using Llama Guard 4.&lt;/P&gt;&lt;P&gt;Test Prompt:&lt;BR /&gt;index=_internal log_level=error | table _time _raw | ai prompt="Please summarise these error messages and describe why I might receive them: {_raw}"&lt;/P&gt;&lt;P&gt;Error Message:&lt;BR /&gt;SearchMessage orig_component=SearchOrchestrator sid=[sid] message_key= message=Error in 'ai' command: No default model was found.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 09:59:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-MLTK-ai-Prompt-Testing/m-p/749014#M82065</guid>
      <dc:creator>Nadeen_98</dc:creator>
      <dc:date>2025-07-01T09:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk MLTK ai Prompt Testing</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-MLTK-ai-Prompt-Testing/m-p/749015#M82066</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/311339"&gt;@Nadeen_98&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you confirm that in the the Connection Management settings you have the "Set as Default" checked for one of the models?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, please can you check the logs for any errors:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="_internal" (source="*mlspl.log" OR sourcetype="mlspl" OR source="*python.log*")&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 10:34:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-MLTK-ai-Prompt-Testing/m-p/749015#M82066</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-07-01T10:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk MLTK ai Prompt Testing</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-MLTK-ai-Prompt-Testing/m-p/749023#M82068</link>
      <description>&lt;P&gt;Thanks for your help&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've added Groq as the default provider but still another issue occurs.&lt;/P&gt;&lt;P&gt;Revised Prompt:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;index=_internal log_level IN ("ERROR","WARNING", "WARN") &lt;BR /&gt;| table _time _raw &lt;BR /&gt;| ai prompt="please explain these error message to me: {_raw}" provider="Groq" model="llama3-70b-8192"&lt;/PRE&gt;&lt;P&gt;Error Message:&lt;/P&gt;&lt;PRE&gt;RunDispatch has failed: sid=[sid], exit=-1, error=Error in 'ai' command: The provider: '"Groq"' is invalid. Please check the configuration&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 12:01:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-MLTK-ai-Prompt-Testing/m-p/749023#M82068</guid>
      <dc:creator>Nadeen_98</dc:creator>
      <dc:date>2025-07-01T12:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk MLTK ai Prompt Testing</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-MLTK-ai-Prompt-Testing/m-p/749283#M82091</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You must provide a `model` parameter in your `| ai` command.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/MLApp/5.6.0/User/Aboutaicommand#Parameters_for_the_ai_command" target="_blank"&gt;https://docs.splunk.com/Documentation/MLApp/5.6.0/User/Aboutaicommand#Parameters_for_the_ai_command&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, I assume that you have configured the required details in the Connections Management page&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/MLApp/5.6.0/User/Aboutaicommand#Connection_Management_page" target="_blank"&gt;https://docs.splunk.com/Documentation/MLApp/5.6.0/User/Aboutaicommand#Connection_Management_page&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jul 2025 06:05:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-MLTK-ai-Prompt-Testing/m-p/749283#M82091</guid>
      <dc:creator>ilya_resh</dc:creator>
      <dc:date>2025-07-06T06:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk MLTK ai Prompt Testing</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-MLTK-ai-Prompt-Testing/m-p/749286#M82092</link>
      <description>&lt;P&gt;The &amp;lt;SPLUNK_HOME&amp;gt;/var/log/splunk/mlspl.log may give you more details about the error.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jul 2025 06:08:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-MLTK-ai-Prompt-Testing/m-p/749286#M82092</guid>
      <dc:creator>ilya_resh</dc:creator>
      <dc:date>2025-07-06T06:08:12Z</dc:date>
    </item>
  </channel>
</rss>

