Document Understanding
最新
  • 基本情報
    • 概要
    • 上限とクォータ
  • Document Understanding API の使用例
  • ライセンス
バナーの背景画像
Document Understanding API ガイド
最終更新日 2024年3月7日

新しいプロジェクトと外部アプリケーションを作成する

  1. 新しい Document Understanding プロジェクトを作成し、projectId を取得します (プロジェクトの URL 内にあります)。
    この例では、Swagger で利用できる、projectID 00000000-0000-0000-0000-000000000000 で識別可能な定義済みのプロジェクト* を使用します。
    注:

    定義済みのプロジェクトは、Document Understanding の UI に表示されません。これは、利用可能なパブリック ML モデルにプログラムによってアクセスできるようにします。

  2. DocumentUnderstanding (ドキュメントの理解) をリソースとして使用し、利用可能なアプリケーション スコープがすべて含まれる外部アプリケーションを作成します。
  3. ID サービスに対する curl 呼び出しを開始して、トークンを取得します。
curl --data \
-urlencode "scope=Du.Digitization"  --data \
-urlencode "client_id={app_id}" --data \
-urlencode "client_secret={app_secret}" --data \
-urlencode "grant_type=client_credentials" https://cloud.uipath.com/identity_/connect/tokencurl --data \
-urlencode "scope=Du.Digitization"  --data \
-urlencode "client_id={app_id}" --data \
-urlencode "client_secret={app_secret}" --data \
-urlencode "grant_type=client_credentials" https://cloud.uipath.com/identity_/connect/token
注: 認可トークンには有効期限があります。次の応答で有効期限を確認し、期限が切れる前に更新してください。

{ 
"access_token": "eyJh**CRaKrg", 
"expires_in": 3600, 
"token_type": "Bearer", 
"scope": "Du.Digitization.Api" 
}{ 
"access_token": "eyJh**CRaKrg", 
"expires_in": 3600, 
"token_type": "Bearer", 
"scope": "Du.Digitization.Api" 
}

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.