次の方法で共有


Evaluations - List

認証済みサブスクリプションの評価の一覧を取得します。

GET {endpoint}/speechtotext/v3.2-preview.2/evaluations
GET {endpoint}/speechtotext/v3.2-preview.2/evaluations?skip={skip}&top={top}&filter={filter}

URI パラメーター

名前 / 必須 説明
endpoint
path True

string

サポートされている Cognitive Services エンドポイント (プロトコルとホスト名、例: https://westus.api.cognitive.microsoft.com)。

filter
query

string

使用可能な評価のサブセットを選択するためのフィルター式。

        - Supported properties: displayName, description, createdDateTime, lastActionDateTime, status and locale.

        - Operators:

          - eq, ne are supported for all properties.

          - gt, ge, lt, le are supported for createdDateTime and lastActionDateTime.

          - and, or, not are supported.

        - Example:

          filter=displayName eq 'My evaluation'
skip
query

integer (int32)

スキップされるデータセットの数。

top
query

integer (int32)

スキップ後に含まれるデータセットの数。

応答

名前 説明
200 OK

PaginatedEvaluations

わかりました

ヘッダー

Retry-After: integer

Other Status Codes

Error

エラーが発生しました。

セキュリティ

Ocp-Apim-Subscription-Key

コグニティブ サービス アカウント キーをここで指定します。

型: apiKey
/: header

Authorization

このリージョンの STS によって返される JWT からアクセス トークンを指定します。 STS URL に次のクエリ文字列を追加して、トークンに管理スコープを追加してください: ?scope=speechservicesmanagement

型: apiKey
/: header

Get all evaluations
Get all evaluations with where status is equal to 'Running'

Get all evaluations

要求のサンプル

GET {endpoint}/speechtotext/v3.2-preview.2/evaluations?skip=0&top=2

応答のサンプル

{
  "values": [
    {
      "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/evaluations/a55a327b-c866-40b3-a08d-9c0945738633",
      "model1": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/models/base/8a043172-65b7-4cf3-a8b5-4449efa5a0f1"
      },
      "model2": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/models/827712a5-f942-4997-91c3-7c6cde35600b"
      },
      "dataset": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/datasets/9d5f4100-5f8e-4dd6-bd83-9bbbf50d57f1"
      },
      "transcription2": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/transcriptions/ad86d0c9-af6d-4d14-a621-c60d7d65b74f"
      },
      "transcription1": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/transcriptions/ba7ea6f5-3065-40b7-b49a-a90f48584683"
      },
      "links": {
        "files": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/evaluations/00000000-0000-0000-0000-000000000000/files"
      },
      "properties": {
        "wordErrorRate2": 0.065,
        "wordErrorRate1": 0.065,
        "sentenceErrorRate2": 0.375,
        "sentenceCount2": 8,
        "wordCount2": 46,
        "correctWordCount2": 43,
        "wordSubstitutionCount2": 3,
        "wordDeletionCount2": 0,
        "wordInsertionCount2": 0,
        "sentenceErrorRate1": 0.375,
        "sentenceCount1": 8,
        "wordCount1": 46,
        "correctWordCount1": 43,
        "wordSubstitutionCount1": 3,
        "wordDeletionCount1": 0,
        "wordInsertionCount1": 0,
        "tokenErrorRate2": 0.125,
        "tokenErrorRate1": 0.125,
        "tokenCount2": 48,
        "correctTokenCount2": 42,
        "tokenSubstitutionCount2": 6,
        "tokenDeletionCount2": 0,
        "tokenInsertionCount2": 0,
        "tokenCount1": 48,
        "correctTokenCount1": 42,
        "tokenSubstitutionCount1": 6,
        "tokenDeletionCount1": 0,
        "tokenInsertionCount1": 0
      },
      "lastActionDateTime": "2019-01-07T11:36:07Z",
      "status": "Succeeded",
      "createdDateTime": "2019-01-07T11:34:12Z",
      "locale": "en-US",
      "displayName": "Evalution of one model against another model"
    },
    {
      "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/evaluations/daaa45a7-38f0-4918-87d2-bf55fec32ac5",
      "model1": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/models/base/8a043172-65b7-4cf3-a8b5-4449efa5a0f1"
      },
      "model2": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/models/827712a5-f942-4997-91c3-7c6cde35600b"
      },
      "dataset": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/datasets/9d5f4100-5f8e-4dd6-bd83-9bbbf50d57f1"
      },
      "transcription2": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/transcriptions/ad86d0c9-af6d-4d14-a621-c60d7d65b74f"
      },
      "transcription1": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/transcriptions/ba7ea6f5-3065-40b7-b49a-a90f48584683"
      },
      "links": {
        "files": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/evaluations/00000000-0000-0000-0000-000000000000/files"
      },
      "properties": {
        "wordErrorRate2": 0.065,
        "wordErrorRate1": 0.065,
        "sentenceErrorRate2": 0.375,
        "sentenceCount2": 8,
        "wordCount2": 46,
        "correctWordCount2": 43,
        "wordSubstitutionCount2": 3,
        "wordDeletionCount2": 0,
        "wordInsertionCount2": 0,
        "sentenceErrorRate1": 0.375,
        "sentenceCount1": 8,
        "wordCount1": 46,
        "correctWordCount1": 43,
        "wordSubstitutionCount1": 3,
        "wordDeletionCount1": 0,
        "wordInsertionCount1": 0,
        "tokenErrorRate2": 0.125,
        "tokenErrorRate1": 0.125,
        "tokenCount2": 48,
        "correctTokenCount2": 42,
        "tokenSubstitutionCount2": 6,
        "tokenDeletionCount2": 0,
        "tokenInsertionCount2": 0,
        "tokenCount1": 48,
        "correctTokenCount1": 42,
        "tokenSubstitutionCount1": 6,
        "tokenDeletionCount1": 0,
        "tokenInsertionCount1": 0
      },
      "lastActionDateTime": "2019-01-07T11:36:07Z",
      "status": "Succeeded",
      "createdDateTime": "2019-01-07T11:34:12Z",
      "locale": "en-US",
      "displayName": "Evalution of one model against another model"
    }
  ],
  "@nextLink": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/evaluations/1c50ce42-6ab7-454f-8c39-54a752d1a5b6/files?skip=2&top=2"
}

Get all evaluations with where status is equal to 'Running'

要求のサンプル

GET {endpoint}/speechtotext/v3.2-preview.2/evaluations?skip=0&top=2&filter=status%20eq%20'Running'

応答のサンプル

{
  "values": [
    {
      "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/evaluations/f85a328c-c866-40b3-a08d-9c0945738633",
      "model1": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/models/base/8a043172-65b7-4cf3-a8b5-4449efa5a0f1"
      },
      "model2": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/models/827712a5-f942-4997-91c3-7c6cde35600b"
      },
      "dataset": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/datasets/9d5f4100-5f8e-4dd6-bd83-9bbbf50d57f1"
      },
      "transcription2": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/transcriptions/ad86d0c9-af6d-4d14-a621-c60d7d65b74f"
      },
      "transcription1": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/transcriptions/ba7ea6f5-3065-40b7-b49a-a90f48584683"
      },
      "links": {
        "files": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/evaluations/00000000-0000-0000-0000-000000000000/files"
      },
      "properties": {
        "wordErrorRate2": 0.98,
        "wordErrorRate1": 0.89,
        "sentenceErrorRate2": 0.375,
        "sentenceCount2": 8,
        "wordCount2": 46,
        "correctWordCount2": 43,
        "wordSubstitutionCount2": 3,
        "wordDeletionCount2": 0,
        "wordInsertionCount2": 0,
        "sentenceErrorRate1": 0.375,
        "sentenceCount1": 8,
        "wordCount1": 46,
        "correctWordCount1": 43,
        "wordSubstitutionCount1": 3,
        "wordDeletionCount1": 0,
        "wordInsertionCount1": 0,
        "tokenErrorRate2": 0.125,
        "tokenErrorRate1": 0.125,
        "tokenCount2": 48,
        "correctTokenCount2": 42,
        "tokenSubstitutionCount2": 6,
        "tokenDeletionCount2": 0,
        "tokenInsertionCount2": 0,
        "tokenCount1": 48,
        "correctTokenCount1": 42,
        "tokenSubstitutionCount1": 6,
        "tokenDeletionCount1": 0,
        "tokenInsertionCount1": 0
      },
      "lastActionDateTime": "2019-01-07T11:36:07Z",
      "status": "Succeeded",
      "createdDateTime": "2019-01-07T11:34:12Z",
      "locale": "en-US",
      "displayName": "Evalution of one model against another model"
    }
  ]
}

定義

名前 説明
DetailedErrorCode

DetailedErrorCode

EntityError

EntityError

EntityReference

EntityReference

Error

エラー

ErrorCode

エラーコード

Evaluation

評価

EvaluationLinks

EvaluationLinks

EvaluationProperties

EvaluationProperties

InnerError

InnerError

PaginatedEvaluations

PaginatedEvaluations

Status

ステータス

DetailedErrorCode

DetailedErrorCode

説明
InvalidParameterValue

パラメーター値が無効です。

InvalidRequestBodyFormat

要求本文の形式が無効です。

EmptyRequest

空の要求。

MissingInputRecords

入力レコードがありません。

InvalidDocument

ドキュメントが無効です。

ModelVersionIncorrect

モデルのバージョンが正しくありません。

InvalidDocumentBatch

ドキュメント バッチが無効です。

UnsupportedLanguageCode

サポートされていない言語コード。

DataImportFailed

データのインポートに失敗しました。

InUseViolation

使用中の違反。

InvalidLocale

ロケールが無効です。

InvalidBaseModel

ベース モデルが無効です。

InvalidAdaptationMapping

適応マッピングが無効です。

InvalidDataset

データセットが無効です。

InvalidTest

テストが無効です。

FailedDataset

失敗したデータセット。

InvalidModel

モデルが無効です。

InvalidTranscription

文字起こしが無効です。

InvalidPayload

ペイロードが無効です。

InvalidParameter

パラメーターが無効です。

EndpointWithoutLogging

ログ記録なしのエンドポイント。

InvalidPermissions

アクセス許可が無効です。

InvalidPrerequisite

前提条件が無効です。

InvalidProductId

製品 ID が無効です。

InvalidSubscription

サブスクリプションが無効です。

InvalidProject

プロジェクトが無効です。

InvalidProjectKind

プロジェクトの種類が無効です。

InvalidRecordingsUri

無効な記録 URI。

OnlyOneOfUrlsOrContainerOrDataset

URL またはコンテナーまたはデータセットのいずれか 1 つだけ。

ExceededNumberOfRecordingsUris

記録 URI の数を超えました。

ModelMismatch

モデルの不一致。

ProjectGenderMismatch

プロジェクトの性別の不一致。

ModelDeprecated

モデルは非推奨になりました。

ModelExists

モデルが存在します。

ModelNotDeployable

モデルはデプロイできません。

EndpointNotUpdatable

エンドポイントは更新できません。

SingleDefaultEndpoint

単一の既定のエンドポイント。

EndpointCannotBeDefault

エンドポイントを既定にすることはできません。

InvalidModelUri

モデル URI が無効です。

SubscriptionNotFound

サブスクリプションが見つかりません。

QuotaViolation

クォータ違反。

UnsupportedDelta

サポートされていないデルタ。

UnsupportedFilter

サポートされていないフィルター。

UnsupportedPagination

サポートされていない改ページ位置。

UnsupportedDynamicConfiguration

サポートされていない動的構成。

UnsupportedOrderBy

サポートされていない注文者。

NoUtf8WithBom

bom を含む utf8 はありません。

ModelDeploymentNotCompleteState

モデルのデプロイが完了していない状態です。

SkuLimitsExist

SKU の制限が存在します。

DeployingFailedModel

失敗したモデルのデプロイ。

UnsupportedTimeRange

サポートされていない時間範囲。

InvalidLogDate

ログの日付が無効です。

InvalidLogId

無効なログ ID です。

InvalidLogStartTime

ログの開始時刻が無効です。

InvalidLogEndTime

ログの終了時刻が無効です。

InvalidTopForLogs

ログの top が無効です。

InvalidSkipTokenForLogs

ログのスキップ トークンが無効です。

DeleteNotAllowed

削除は許可されていません。

Forbidden

禁じられた。

DeployNotAllowed

デプロイは許可されていません。

UnexpectedError

予期しないエラー。

InvalidCollection

コレクションが無効です。

InvalidCallbackUri

コールバック URI が無効です。

InvalidSasValidityDuration

SAS の有効期間が無効です。

InaccessibleCustomerStorage

お客様のストレージにアクセスできません。

UnsupportedClassBasedAdaptation

サポートされていないクラス ベースの適応。

InvalidWebHookEventKind

Web フック イベントの種類が無効です。

InvalidTimeToLive

有効期限が無効です。

InvalidSourceAzureResourceId

ソース Azure リソース ID が無効です。

ModelCopyOperationExists

モデルのコピー操作が存在します。

EntityError

EntityError

名前 説明
code

string

このエラーのコード。

message

string

このエラーのメッセージ。

EntityReference

EntityReference

名前 説明
self

string (uri)

参照先エンティティの場所。

Error

エラー

名前 説明
code

ErrorCode

エラーコード
大まかなエラー コード。

details

Error[]

エラーや予想されるポリシーに関するその他のサポートの詳細。

innerError

InnerError

InnerError
https://microsoft.sharepoint.com/%3Aw%3A/t/CognitiveServicesPMO/EUoytcrjuJdKpeOKIK_QRC8BPtUYQpKBi8JsWyeDMRsWlQ?e=CPq8owで利用可能な Cognitive Services API ガイドラインに準拠した新しい内部エラー形式。 これには、必須プロパティ ErrorCode、メッセージ、および省略可能なプロパティ ターゲット、details(キー値ペア)、内部エラー (入れ子にできます) が含まれます。

message

string

高レベルのエラー メッセージ。

target

string

エラーの原因。 たとえば、無効なドキュメントの場合は "documents" または "document id" になります。

ErrorCode

エラーコード

説明
InvalidRequest

無効な要求エラー コードを表します。

InvalidArgument

無効な引数のエラー コードを表します。

InternalServerError

内部サーバー エラー コードを表します。

ServiceUnavailable

サービスを使用できないエラー コードを表します。

NotFound

見つからないエラー コードを表します。

PipelineError

パイプライン エラー コードを表します。

Conflict

競合エラー コードを表します。

InternalCommunicationFailed

内部通信に失敗したエラー コードを表します。

Forbidden

禁止されているエラー コードを表します。

NotAllowed

許可されていないエラー コードを表します。

Unauthorized

承認されていないエラー コードを表します。

UnsupportedMediaType

サポートされていないメディアの種類のエラー コードを表します。

TooManyRequests

要求の数が多すぎるエラー コードを表します。

UnprocessableEntity

処理不可能なエンティティ エラー コードを表します。

Evaluation

評価

名前 説明
createdDateTime

string (date-time)

オブジェクトが作成されたときのタイムスタンプ。 タイムスタンプは ISO 8601 の日付と時刻の形式 ("YYYY-MM-DDThh:mm:ssZ"、 https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations参照) としてエンコードされます。

customProperties

object

このエンティティのカスタム プロパティ。 許可されるキーの最大長は 64 文字、最大許容値の長さは 256 文字、許可されるエントリの数は 10 です。

dataset

EntityReference

EntityReference

description

string

オブジェクトの説明。

displayName

string

minLength: 1

オブジェクトの表示名。

lastActionDateTime

string (date-time)

現在の状態が入力されたときのタイムスタンプ。 タイムスタンプは ISO 8601 の日付と時刻の形式 ("YYYY-MM-DDThh:mm:ssZ"、 https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations参照) としてエンコードされます。

links

EvaluationLinks

EvaluationLinks

locale

string

minLength: 1

格納されているデータのロケール。

model1

EntityReference

EntityReference

model2

EntityReference

EntityReference

project

EntityReference

EntityReference

properties

EvaluationProperties

EvaluationProperties

self

string (uri)

このエンティティの場所。

status

Status

ステータス
API の現在の状態について説明する

transcription1

EntityReference

EntityReference

transcription2

EntityReference

EntityReference

EvaluationLinks

名前 説明
files

string (uri)

このエンティティのすべてのファイルを取得する場所。 詳細については、操作 "Evaluations_ListFiles" を参照してください。

EvaluationProperties

EvaluationProperties

名前 説明
correctTokenCount1

integer (int32)

model1 によって正しく認識されたトークンの数。

correctTokenCount2

integer (int32)

model2 によって正しく認識されたトークンの数。

correctWordCount1

integer (int32)

model1 で正しく認識された単語の数。

correctWordCount2

integer (int32)

model2 で正しく認識された単語の数。

email

string

操作が完了した場合に電子メール通知を送信する電子メール アドレス。 この値は、電子メールを正常に送信した後に削除されます。

error

EntityError

EntityError

sentenceCount1

integer (int32)

model1 で処理された文の数。

sentenceCount2

integer (int32)

model2 で処理された文の数。

sentenceErrorRate1

number (double)

model1 での認識の文エラー率。

sentenceErrorRate2

number (double)

model2 での認識の文エラー率。

tokenCount1

integer (int32)

model1 によって処理されたトークンの数。

tokenCount2

integer (int32)

model2 によって処理されたトークンの数。

tokenDeletionCount1

integer (int32)

model1 によって認識されたトークンの数 (削除)。

tokenDeletionCount2

integer (int32)

model2 によって認識されたトークンの数 (削除)。

tokenErrorRate1

number (double)

model1 での認識のトークン エラー率。

tokenErrorRate2

number (double)

model2 での認識のトークン エラー率。

tokenInsertionCount1

integer (int32)

model1 によって認識されたトークン (挿入) の数。

tokenInsertionCount2

integer (int32)

model2 によって認識されたトークンの数 (挿入)。

tokenSubstitutionCount1

integer (int32)

model1 によって認識されたトークンの数 (置換)。

tokenSubstitutionCount2

integer (int32)

model2 によって認識されたトークンの数 (置換)。

wordCount1

integer (int32)

model1 によって処理された単語の数。

wordCount2

integer (int32)

model2 で処理された単語の数。

wordDeletionCount1

integer (int32)

model1 によって認識された単語の数 (削除)。

wordDeletionCount2

integer (int32)

model2 によって認識された単語の数 (削除)。

wordErrorRate1

number (double)

model1 での認識の単語エラー率。

wordErrorRate2

number (double)

model2 を使用した認識の単語エラー率。

wordInsertionCount1

integer (int32)

model1 によって認識された単語の数 (挿入)。

wordInsertionCount2

integer (int32)

model2 によって認識された単語の数 (挿入)。

wordSubstitutionCount1

integer (int32)

model1 で認識された単語の数 (置換)。

wordSubstitutionCount2

integer (int32)

model2 で認識される単語の数 (置換)。

InnerError

InnerError

名前 説明
code

DetailedErrorCode

DetailedErrorCode
詳細なエラー コード列挙型。

details

object

エラーや予想されるポリシーに関するその他のサポートの詳細。

innerError

InnerError

InnerError
https://microsoft.sharepoint.com/%3Aw%3A/t/CognitiveServicesPMO/EUoytcrjuJdKpeOKIK_QRC8BPtUYQpKBi8JsWyeDMRsWlQ?e=CPq8owで利用可能な Cognitive Services API ガイドラインに準拠した新しい内部エラー形式。 これには、必須プロパティ ErrorCode、メッセージ、および省略可能なプロパティ ターゲット、details(キー値ペア)、内部エラー (入れ子にできます) が含まれます。

message

string

高レベルのエラー メッセージ。

target

string

エラーの原因。 たとえば、無効なドキュメントの場合は "documents" または "document id" になります。

PaginatedEvaluations

PaginatedEvaluations

名前 説明
@nextLink

string (uri)

使用可能なエンティティが他にある場合は、ページ分割された結果の次のセットへのリンク。それ以外の場合は null。

values

Evaluation[]

渡されたクエリ パラメーター 'skip' と 'top' またはその既定値によって制限されるエンティティの一覧。

ページ分割を使用してリストを反復処理し、エンティティを並列で削除すると、一部のエンティティが結果でスキップされます。 クライアントでリストを作成し、完全なリストのフェッチ後に削除することをお勧めします。

Status

ステータス

説明
NotStarted

実行時間の長い操作がまだ開始されていません。

Running

実行時間の長い操作は現在処理中です。

Succeeded

実行時間の長い操作が正常に完了しました。

Failed

実行時間の長い操作が失敗しました。