<?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 SQL AI functions in EU region in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/sql-ai-functions-in-eu-region/m-p/78058#M35455</link>
    <description>&lt;P&gt;I know that currently foundation model with pay-per-token are not available in EU only in US. In EU I should create serving point and use &lt;A href="https://docs.databricks.com/en/resources/designated-services.html" target="_self"&gt;provisioned foundation model. &lt;/A&gt;&lt;/P&gt;&lt;P&gt;But even creating a serving point with llm from catalog (share models). I used the same LLM as AI Funcrions &lt;STRONG&gt;use&amp;nbsp;mixtral_8x7b_instruct&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="drag7ter_0-1720601756043.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9396i25610DE9C2D59A32/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="drag7ter_0-1720601756043.png" alt="drag7ter_0-1720601756043.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then after serving point was successfully provisioned I started SQL Serverless Warehouse in the same workspace in EU region, but running sql statements fail with an error.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;SELECT ai_analyze_sentiment('I am happy');&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[AI_FUNCTION_HTTP_REQUEST_ERROR] Error occurred while making an HTTP request for function `ai_analyze_sentiment`: [REMOTE_FUNCTION_HTTP_FAILED_ERROR] The remote HTTP request failed with code 404, and error message 'HTTP request failed with status: {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"The given endpoint does not exist, please retry after checking the specified model and version deployment exists."}' SQLSTATE: 57012 SQLSTATE: 08000&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Could someone tell steps how use ai functions in EU region. Is it possible?&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2024 09:01:57 GMT</pubDate>
    <dc:creator>drag7ter</dc:creator>
    <dc:date>2024-07-10T09:01:57Z</dc:date>
    <item>
      <title>SQL AI functions in EU region</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-ai-functions-in-eu-region/m-p/78058#M35455</link>
      <description>&lt;P&gt;I know that currently foundation model with pay-per-token are not available in EU only in US. In EU I should create serving point and use &lt;A href="https://docs.databricks.com/en/resources/designated-services.html" target="_self"&gt;provisioned foundation model. &lt;/A&gt;&lt;/P&gt;&lt;P&gt;But even creating a serving point with llm from catalog (share models). I used the same LLM as AI Funcrions &lt;STRONG&gt;use&amp;nbsp;mixtral_8x7b_instruct&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="drag7ter_0-1720601756043.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9396i25610DE9C2D59A32/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="drag7ter_0-1720601756043.png" alt="drag7ter_0-1720601756043.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then after serving point was successfully provisioned I started SQL Serverless Warehouse in the same workspace in EU region, but running sql statements fail with an error.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;SELECT ai_analyze_sentiment('I am happy');&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[AI_FUNCTION_HTTP_REQUEST_ERROR] Error occurred while making an HTTP request for function `ai_analyze_sentiment`: [REMOTE_FUNCTION_HTTP_FAILED_ERROR] The remote HTTP request failed with code 404, and error message 'HTTP request failed with status: {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"The given endpoint does not exist, please retry after checking the specified model and version deployment exists."}' SQLSTATE: 57012 SQLSTATE: 08000&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Could someone tell steps how use ai functions in EU region. Is it possible?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 09:01:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-ai-functions-in-eu-region/m-p/78058#M35455</guid>
      <dc:creator>drag7ter</dc:creator>
      <dc:date>2024-07-10T09:01:57Z</dc:date>
    </item>
  </channel>
</rss>

