<?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: Document Information Extraction with Custom Documents in Artificial Intelligence Forum</title>
    <link>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529832#M208</link>
    <description>&lt;P&gt;Hi Juliana,&lt;/P&gt;&lt;P&gt;thanks for clarification. That leaves the service less useful for us since we would need a custom document type. Is there a plan to expose the custom document feature extraction via an API soon?&lt;/P&gt;&lt;P&gt;If you only get the results from the extraction in an UI and need to note them down, what is gained by providing this feature ?  &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;</description>
    <pubDate>Thu, 25 Nov 2021 09:39:57 GMT</pubDate>
    <dc:creator>marcus_schiffer</dc:creator>
    <dc:date>2021-11-25T09:39:57Z</dc:date>
    <item>
      <title>Document Information Extraction with Custom Documents</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529830#M206</link>
      <description>&lt;P&gt;Tutorials: &lt;A href="https://developers.sap.com/tutorials/cp-aibus-dox-ui-template-custom.html" target="test_blank"&gt;https://developers.sap.com/tutorials/cp-aibus-dox-ui-template-custom.html&lt;/A&gt; &lt;BR /&gt;-------------------------- &lt;BR /&gt; &lt;BR /&gt;Hi, &lt;/P&gt;
  &lt;P&gt;we have created a Custom template for Document Information Extraction . Now we want to call the service API for this Custom Document. We do not see however, how that would work in the POST/Document service.&lt;/P&gt;
  &lt;P&gt;When using &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;{
  "extraction": {
    "headerFields": [
      "Description",
      "Capacity"
    ],
    "lineItemFields": [         
    ]
  },
  "clientId": "c_00",
  "documentType": "Custom",
  "receivedDate": "2020-02-17",
  "enrichment": {
    "sender": {
      "top": 5,
      "type": "businessEntity",
      "subtype": "supplier"
    },
    "employee": {
      "type": "employee"
    }
  }
}
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;We get this error &lt;STRONG&gt;"message": "Not supported document type: Custom".&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;What are we doing wrong ? There seems also no option to include the template type in the request.&lt;/P&gt;
  &lt;P&gt;Any help appreciated.&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 08:47:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529830#M206</guid>
      <dc:creator>marcus_schiffer</dc:creator>
      <dc:date>2021-11-25T08:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Document Information Extraction with Custom Documents</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529831#M207</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;For the moment, the Template feature and custom document types are only supported on UI application level (not on API level). You'll need to use the Document feature in the UI application to use the template you created as described in the tutorial.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Juliana &lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 09:35:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529831#M207</guid>
      <dc:creator>juliana_morais</dc:creator>
      <dc:date>2021-11-25T09:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Document Information Extraction with Custom Documents</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529832#M208</link>
      <description>&lt;P&gt;Hi Juliana,&lt;/P&gt;&lt;P&gt;thanks for clarification. That leaves the service less useful for us since we would need a custom document type. Is there a plan to expose the custom document feature extraction via an API soon?&lt;/P&gt;&lt;P&gt;If you only get the results from the extraction in an UI and need to note them down, what is gained by providing this feature ?  &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 09:39:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529832#M208</guid>
      <dc:creator>marcus_schiffer</dc:creator>
      <dc:date>2021-11-25T09:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Document Information Extraction with Custom Documents</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529833#M209</link>
      <description>&lt;P&gt;Hi Juliana,&lt;/P&gt;&lt;P&gt;Currently I can post a document with templateId and schemaId, my question is that is there any API to retrieve the templateId and schemaId? currently I can get it from UI by debugging.&lt;/P&gt;&lt;P&gt;POST: &lt;A href="https://aiservices-trial-dox.cfapps.us10.hana.ondemand.com/document-information-extraction/v1/document/jobs" target="test_blank"&gt;https://aiservices-trial-dox.cfapps.us10.hana.ondemand.com/document-information-extraction/v1/document/jobs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;	"clientId": "default",&lt;/P&gt;&lt;P&gt;	"documentType": "custom",&lt;/P&gt;&lt;P&gt;	"templateId": "87d48a21-3660-48bd-a1c8-cd5ccf286399",&lt;/P&gt;&lt;P&gt;	"schemaId": "413f9b87-6b22-4dd7-824b-f9824f6f6639"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 17:04:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529833#M209</guid>
      <dc:creator>former_member802816</dc:creator>
      <dc:date>2022-05-02T17:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Document Information Extraction with Custom Documents</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529834#M210</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;When using template for extraction, you need to provide both "schemaId" and "templateId" as input parameters in your payload, as instructed in here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://aiservices-trial-dox.cfapps.eu10.hana.ondemand.com/document-information-extraction/v1/" target="test_blank"&gt;https://aiservices-trial-dox.cfapps.eu10.hana.ondemand.com/document-information-extraction/v1/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2045836-screenshot-2022-05-04-at-95534-am.png" /&gt;&lt;/P&gt;&lt;P&gt;An example payload:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2045835-image.png" /&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Shu Zhen&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 02:04:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529834#M210</guid>
      <dc:creator>Shu_Zhen</dc:creator>
      <dc:date>2022-05-04T02:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Document Information Extraction with Custom Documents</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529835#M211</link>
      <description>&lt;P&gt;Hi Gary,&lt;/P&gt;&lt;P&gt;You can retrieve schemaId via running GET document/jobs/{id}, but unfortunately templateId will not be provided there yet.&lt;/P&gt;&lt;P&gt;We may enable this info in the future release for new APIs.  &lt;/P&gt;&lt;P&gt;Thanks for the feedback. &lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Shu Zhen&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 07:51:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529835#M211</guid>
      <dc:creator>Shu_Zhen</dc:creator>
      <dc:date>2022-05-04T07:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Document Information Extraction with Custom Documents</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529836#M212</link>
      <description>&lt;P&gt;Hi Shu Zhen,&lt;/P&gt;&lt;P&gt;Where can we find the schemaId and templateId of custom schemas and templates?&lt;/P&gt;&lt;P&gt;Can we use the current state of APIs to process custom documents based on custom schemas and templates? &lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tejaswi&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 23:36:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529836#M212</guid>
      <dc:creator>former_member133639</dc:creator>
      <dc:date>2022-06-22T23:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Document Information Extraction with Custom Documents</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529837#M213</link>
      <description>&lt;P&gt;Hi Tejaswi,&lt;/P&gt;&lt;P&gt;You can run via GET /templates to get a list of templates and associated schemas. &lt;/P&gt;&lt;P&gt;Yes, you can process custom documents.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Shu Zhen&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 00:58:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529837#M213</guid>
      <dc:creator>Shu_Zhen</dc:creator>
      <dc:date>2022-06-23T00:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Document Information Extraction with Custom Documents</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529838#M214</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I don't see an endpoint for templates in the API documentation. &lt;/P&gt;&lt;P&gt;&lt;A rel="nofollow" href="https://aiservices-trial-dox.cfapps.eu10.hana.ondemand.com/document-information-extraction/v1" target="_blank"&gt;https://aiservices-trial-dox.cfapps.eu10.hana.ondemand.com/document-information-extraction/v1&lt;/A&gt;/&lt;/P&gt;&lt;P&gt;When do I find the exact service and the endpoint?&lt;/P&gt;&lt;P&gt;And also, I am unable to subscribe to UI service in trial account and as well as enterprise account. Can you please check?&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2063490-image.png" /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tejaswi&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 15:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/document-information-extraction-with-custom-documents/m-p/12529838#M214</guid>
      <dc:creator>former_member133639</dc:creator>
      <dc:date>2022-06-23T15:05:06Z</dc:date>
    </item>
  </channel>
</rss>

