<?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: How to connect Qlik to Meta's Llama model ? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-connect-Qlik-to-Meta-s-Llama-model/m-p/2444921#M20415</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/222769"&gt;@Kartik2&lt;/a&gt;&amp;nbsp;- if you are trying to use a model from Meta other than:&lt;/P&gt;
&lt;UL data-mc-conditions="Features.IM-5560,Targets.NotToTranslate"&gt;
&lt;LI&gt;
&lt;P&gt;Llama 2 Chat 13B&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Llama 2 Chat 70B&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;the &lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/LoadData/ac-bedrock-meta-overview.htm" target="_blank" rel="noopener"&gt;built-in Bedrock Meta connector will not work&lt;/A&gt;. If attempting to utilize Llama 3 or another model, you can use the default REST connector, though it may require additional parameters (the REST interactivity wouldn't be simplified in this case, as it is with the branded connectors and the model supported from each).&lt;BR /&gt;&lt;BR /&gt;In that scenario, using the default REST connector, you can leverage any LLM API you want, including custom ones. The API endpoint just needs to be available to your Qlik Cloud tenant (and this cannot be through the Data Gateway - Direct Access).&lt;BR /&gt;&lt;BR /&gt;Qlik has a lot of improvements in this area just over the horizon, so please stay tuned for &lt;A href="https://www.qlikconnect.com/event/b6714110-5f41-4df1-9735-6b0007500a2e/websitePage:d8250be0-b1b9-4524-b2e8-cd8508c14979" target="_blank" rel="noopener"&gt;Qlik Connect&lt;/A&gt;&amp;nbsp;to see some of the innovations we are bringing to this space!&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2024 14:22:43 GMT</pubDate>
    <dc:creator>jprdonnelly</dc:creator>
    <dc:date>2024-04-25T14:22:43Z</dc:date>
    <item>
      <title>How to connect Qlik to Meta's Llama model ?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-connect-Qlik-to-Meta-s-Llama-model/m-p/2444600#M20411</link>
      <description>&lt;P&gt;I was trying to integrate Qlik with Llama ,I was using the default Meta(Amazon_Bedrock) anaytics connection in Qlik cloud.&lt;/P&gt;
&lt;P&gt;The connection was created successfully and i used the below script for testing&lt;/P&gt;
&lt;P&gt;QuestionsTable:&lt;/P&gt;
&lt;P&gt;Load * Inline [&lt;/P&gt;
&lt;P&gt;Question_ID,Question&lt;/P&gt;
&lt;P&gt;1,"show me general ways to help boost a company's sales"&lt;BR /&gt;2,"what are the core concepts in accounting?"&lt;BR /&gt;3,"how large is the sun?"&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;[Meta]:&lt;BR /&gt;LOAD&lt;BR /&gt;[generation],&lt;BR /&gt;[prompt_token_count],&lt;BR /&gt;[generation_token_count],&lt;BR /&gt;[stop_reason],&lt;BR /&gt;[RowId]&lt;BR /&gt;EXTENSION endpoints.ScriptEval('{"RequestType":"endpoint", "endpoint":{"connectionname":"Meta_(Amazon_Bedrock)"}}', QuestionsTable{Question_ID,Question});&lt;/P&gt;
&lt;P&gt;exit script&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But i got an ERROR&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Connector reply error: grpc::StatusCode::FAILED_PRECONDITION: 'Error while converting required format. Status(StatusCode="FailedPrecondition", Detail="Error returned by endpoint: NotFound Could not resolve the foundation model from the provided model identifier.")'&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; "&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any Solutions ??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 05:27:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-connect-Qlik-to-Meta-s-Llama-model/m-p/2444600#M20411</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2024-04-25T05:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect Qlik to Meta's Llama model ?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-connect-Qlik-to-Meta-s-Llama-model/m-p/2444921#M20415</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/222769"&gt;@Kartik2&lt;/a&gt;&amp;nbsp;- if you are trying to use a model from Meta other than:&lt;/P&gt;
&lt;UL data-mc-conditions="Features.IM-5560,Targets.NotToTranslate"&gt;
&lt;LI&gt;
&lt;P&gt;Llama 2 Chat 13B&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Llama 2 Chat 70B&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;the &lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/LoadData/ac-bedrock-meta-overview.htm" target="_blank" rel="noopener"&gt;built-in Bedrock Meta connector will not work&lt;/A&gt;. If attempting to utilize Llama 3 or another model, you can use the default REST connector, though it may require additional parameters (the REST interactivity wouldn't be simplified in this case, as it is with the branded connectors and the model supported from each).&lt;BR /&gt;&lt;BR /&gt;In that scenario, using the default REST connector, you can leverage any LLM API you want, including custom ones. The API endpoint just needs to be available to your Qlik Cloud tenant (and this cannot be through the Data Gateway - Direct Access).&lt;BR /&gt;&lt;BR /&gt;Qlik has a lot of improvements in this area just over the horizon, so please stay tuned for &lt;A href="https://www.qlikconnect.com/event/b6714110-5f41-4df1-9735-6b0007500a2e/websitePage:d8250be0-b1b9-4524-b2e8-cd8508c14979" target="_blank" rel="noopener"&gt;Qlik Connect&lt;/A&gt;&amp;nbsp;to see some of the innovations we are bringing to this space!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 14:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-connect-Qlik-to-Meta-s-Llama-model/m-p/2444921#M20415</guid>
      <dc:creator>jprdonnelly</dc:creator>
      <dc:date>2024-04-25T14:22:43Z</dc:date>
    </item>
  </channel>
</rss>

