<?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>Question Re: Consuming Gen AI models using the REST API does not work in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/consuming-gen-ai-models-using-the-rest-api-does-not-work/qaa-p/13999360#M4900972</link>
    <description>&lt;P&gt;&lt;BR /&gt;HI&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/14956"&gt;@essay88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First thing you need to confirm deployment id(********) is running in your AI Core Console and if its running.. can you check in Postman headers if this both is inculded while making Post call..&lt;BR /&gt;&lt;BR /&gt;Authorization : Bearer &amp;lt;token&amp;gt;&lt;/P&gt;&lt;P&gt;AI-Resource-Group : default&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you can find the details in last part of the blog which helps to fix your issue&lt;BR /&gt;&lt;A href="https://community.sap.com/t5/technology-blogs-by-sap/set-up-sap-generative-ai-hub-in-an-sap-btp-enterprise-account-and-consume/ba-p/13624287" target="_blank"&gt;https://community.sap.com/t5/technology-blogs-by-sap/set-up-sap-generative-ai-hub-in-an-sap-btp-enterprise-account-and-consume/ba-p/13624287&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;AI Core APIs&lt;BR /&gt;&lt;A href="https://community.sap.com/t5/technology-blogs-by-sap/leveraging-sap-ai-core-apis-to-build-your-own-ai-powered-apps/ba-p/13718456" target="_blank"&gt;https://community.sap.com/t5/technology-blogs-by-sap/leveraging-sap-ai-core-apis-to-build-your-own-ai-powered-apps/ba-p/13718456&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2025 14:17:52 GMT</pubDate>
    <dc:creator>Yogananda</dc:creator>
    <dc:date>2025-01-28T14:17:52Z</dc:date>
    <item>
      <title>Consuming Gen AI models using the REST API does not work</title>
      <link>https://community.sap.com/t5/technology-q-a/consuming-gen-ai-models-using-the-rest-api-does-not-work/qaq-p/13999310</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to use the REST APIs to interact with the Gen AI deployments as mentioned in this document,&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/consume-generative-ai-models-using-sap-ai-core?locale=en-US" target="_blank"&gt;https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/consume-generative-ai-models-using-sap-ai-core?locale=en-US&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But when I do as is explained, I am getting an error response (404 - Not found). Please see the screenshot below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="essay88_0-1738070912022.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218298i61B3AB430686D006/image-size/medium?v=v2&amp;amp;px=400" alt="essay88_0-1738070912022.png" title="essay88_0-1738070912022.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is happening if I use the latest api-version from this &lt;A href="https://me.sap.com/notes/3437766" target="_self"&gt;SAP Note&lt;/A&gt; or if I simply use api-version as "latest".&lt;/P&gt;&lt;P&gt;Strangely it is not happening if I just put the api-version as mentioned in the documentation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone please explain if this is intended behavior, and we should always use this api-version even if there are more updated ones available?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 13:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/consuming-gen-ai-models-using-the-rest-api-does-not-work/qaq-p/13999310</guid>
      <dc:creator>essay88</dc:creator>
      <dc:date>2025-01-28T13:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Consuming Gen AI models using the REST API does not work</title>
      <link>https://community.sap.com/t5/technology-q-a/consuming-gen-ai-models-using-the-rest-api-does-not-work/qaa-p/13999360#M4900972</link>
      <description>&lt;P&gt;&lt;BR /&gt;HI&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/14956"&gt;@essay88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First thing you need to confirm deployment id(********) is running in your AI Core Console and if its running.. can you check in Postman headers if this both is inculded while making Post call..&lt;BR /&gt;&lt;BR /&gt;Authorization : Bearer &amp;lt;token&amp;gt;&lt;/P&gt;&lt;P&gt;AI-Resource-Group : default&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you can find the details in last part of the blog which helps to fix your issue&lt;BR /&gt;&lt;A href="https://community.sap.com/t5/technology-blogs-by-sap/set-up-sap-generative-ai-hub-in-an-sap-btp-enterprise-account-and-consume/ba-p/13624287" target="_blank"&gt;https://community.sap.com/t5/technology-blogs-by-sap/set-up-sap-generative-ai-hub-in-an-sap-btp-enterprise-account-and-consume/ba-p/13624287&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;AI Core APIs&lt;BR /&gt;&lt;A href="https://community.sap.com/t5/technology-blogs-by-sap/leveraging-sap-ai-core-apis-to-build-your-own-ai-powered-apps/ba-p/13718456" target="_blank"&gt;https://community.sap.com/t5/technology-blogs-by-sap/leveraging-sap-ai-core-apis-to-build-your-own-ai-powered-apps/ba-p/13718456&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 14:17:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/consuming-gen-ai-models-using-the-rest-api-does-not-work/qaa-p/13999360#M4900972</guid>
      <dc:creator>Yogananda</dc:creator>
      <dc:date>2025-01-28T14:17:52Z</dc:date>
    </item>
  </channel>
</rss>

