VersionsOperations クラス
VersionsOperations 操作。
このクラスを直接インスタンス化するのではなく、それを作成して属性としてアタッチするクライアント インスタンスを作成する必要があります。
- 継承
-
builtins.objectVersionsOperations
コンストラクター
VersionsOperations(client, config, serializer, deserializer)
パラメーター
- client
サービス要求のクライアント。
- config
サービス クライアントの構成。
- serializer
オブジェクト モデル シリアライザー。
- deserializer
オブジェクト モデル逆シリアライザー。
変数
- format
Lu 形式の拡張子。 定数値: "lu"
メソッド
clone |
選択したバージョンから新しいバージョンを作成します。 |
delete |
アプリケーション バージョンを削除します。 |
delete_unlabelled_utterance |
アプリケーションのバージョンでラベルのない発話を削除しました。 |
export |
LUIS アプリケーションを JSON 形式にエクスポートします。 |
export_lu_format |
LUIS アプリケーションをテキスト形式にエクスポートします。 |
get |
作成日、最終変更日、エンドポイント URL、意図とエンティティの数、トレーニングと発行の状態などのバージョン情報を取得します。 |
import_lu_format |
LUIS アプリケーションに新しいバージョンをインポートします。 |
import_method |
LUIS アプリケーションに新しいバージョンをインポートします。 |
import_v2_app |
LUIS アプリケーションに新しいバージョンをインポートします。 |
list |
このアプリケーション ID のバージョンの一覧を取得します。 |
update |
アプリケーション バージョンの名前または説明を更新します。 |
clone
選択したバージョンから新しいバージョンを作成します。
clone(app_id, version_id, version=None, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
raw=true の場合、str または ClientRawResponse
の戻り値の型 :
例外
delete
アプリケーション バージョンを削除します。
delete(app_id, version_id, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
operationStatus または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
delete_unlabelled_utterance
アプリケーションのバージョンでラベルのない発話を削除しました。
delete_unlabelled_utterance(app_id, version_id, utterance, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
operationStatus または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
export
LUIS アプリケーションを JSON 形式にエクスポートします。
export(app_id, version_id, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
luisApp または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
export_lu_format
LUIS アプリケーションをテキスト形式にエクスポートします。
export_lu_format(app_id, version_id, custom_headers=None, raw=False, callback=None, **operation_config)
パラメーター
- callback
- Callable[<xref:Bytes>, <xref:response=None>]
を指定すると、ストリーミングされるデータの各チャンクで が呼び出されます。 コールバックは、現在のデータ チャンクと応答オブジェクトのバイトである 2 つの引数を受け取る必要があります。 データがアップロードされている場合、応答は None になります。
- operation_config
操作の構成がオーバーライドされます。
戻り値
object または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
get
作成日、最終変更日、エンドポイント URL、意図とエンティティの数、トレーニングと発行の状態などのバージョン情報を取得します。
get(app_id, version_id, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
versionInfo または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
import_lu_format
LUIS アプリケーションに新しいバージョンをインポートします。
import_lu_format(app_id, luis_app_lu, version_id=None, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
raw=true の場合、str または ClientRawResponse
の戻り値の型 :
例外
import_method
LUIS アプリケーションに新しいバージョンをインポートします。
import_method(app_id, luis_app, version_id=None, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
raw=true の場合、str または ClientRawResponse
の戻り値の型 :
例外
import_v2_app
LUIS アプリケーションに新しいバージョンをインポートします。
import_v2_app(app_id, luis_app_v2, version_id=None, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
raw=true の場合、str または ClientRawResponse
の戻り値の型 :
例外
list
このアプリケーション ID のバージョンの一覧を取得します。
list(app_id, skip=0, take=100, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作の構成がオーバーライドされます。
戻り値
raw=true の場合は list または ClientRawResponse
の戻り値の型 :
例外
update
アプリケーション バージョンの名前または説明を更新します。
update(app_id, version_id, version=None, custom_headers=None, raw=False, **operation_config)
パラメーター
- operation_config
操作構成のオーバーライド。
戻り値
OperationStatus または ClientRawResponse (raw=true の場合)
の戻り値の型 :
例外
属性
models
models = <module 'azure.cognitiveservices.language.luis.authoring.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.7\\x64\\Lib\\site-packages\\azure\\cognitiveservices\\language\\luis\\authoring\\models\\__init__.py'>
Azure SDK for Python
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示