airflow.providers.google.cloud.links.translate

此模組包含 Google 翻譯連結。

模組內容

類別

TranslationLegacyDatasetLink

用於建構傳統翻譯資料集連結的輔助類別。

TranslationDatasetListLink

用於建構翻譯資料集列表連結的輔助類別。

TranslationLegacyModelLink

用於建構傳統翻譯模型連結的輔助類別。

TranslationLegacyModelTrainLink

用於建構傳統翻譯模型訓練連結的輔助類別。

TranslationLegacyModelPredictLink

用於建構傳統翻譯模型預測連結的輔助類別。

TranslateTextBatchLink

用於建構文字批次翻譯結果的輔助類別。

TranslationNativeDatasetLink

用於建構傳統翻譯資料集連結的輔助類別。

TranslationDatasetsListLink

用於建構翻譯資料集列表連結的輔助類別。

TranslationModelLink

用於建構翻譯模型連結的輔助類別。

TranslationModelsListLink

用於建構翻譯模型列表連結的輔助類別。

TranslateResultByOutputConfigLink

用於建構翻譯結果連結的輔助類別。

屬性

TRANSLATION_BASE_LINK

TRANSLATION_LEGACY_DATASET_LINK

TRANSLATION_DATASET_LIST_LINK

TRANSLATION_LEGACY_MODEL_LINK

TRANSLATION_LEGACY_MODEL_TRAIN_LINK

TRANSLATION_LEGACY_MODEL_PREDICT_LINK

TRANSLATION_TRANSLATE_TEXT_BATCH

TRANSLATION_NATIVE_DATASET_LINK

TRANSLATION_NATIVE_LIST_LINK

TRANSLATION_NATIVE_MODEL_LINK

TRANSLATION_MODELS_LIST_LINK

airflow.providers.google.cloud.links.translate.TRANSLATION_TRANSLATE_TEXT_BATCH[source]

基於: airflow.providers.google.cloud.links.base.BaseGoogleLink

用於建構傳統翻譯資料集連結的輔助類別。

傳統資料集由 AutoML API 建立和管理。

name = '翻譯傳統資料集'[source]
key = 'translation_legacy_dataset'[source]
format_str[source]
static persist(context, task_instance, dataset_id, project_id)[source]

基於: airflow.providers.google.cloud.links.base.BaseGoogleLink

用於建構翻譯資料集列表連結的輔助類別。

name = '翻譯資料集列表'[source]
key = 'translation_dataset_list'[source]
format_str[source]
static persist(context, task_instance, project_id)[source]

基於: airflow.providers.google.cloud.links.base.BaseGoogleLink

用於建構傳統翻譯模型連結的輔助類別。

傳統模型由 AutoML API 建立和管理。

name = '翻譯傳統模型'[source]
key = 'translation_legacy_model'[source]
format_str[source]
static persist(context, task_instance, dataset_id, model_id, project_id)[source]

基於: airflow.providers.google.cloud.links.base.BaseGoogleLink

用於建構傳統翻譯模型訓練連結的輔助類別。

傳統模型由 AutoML API 建立和管理。

name = '翻譯傳統模型訓練'[source]
key = 'translation_legacy_model_train'[source]
format_str[source]
static persist(context, task_instance, project_id)[source]

基於: airflow.providers.google.cloud.links.base.BaseGoogleLink

用於建構傳統翻譯模型預測連結的輔助類別。

傳統模型由 AutoML API 建立和管理。

name = '翻譯傳統模型預測'[source]
key = 'translation_legacy_model_predict'[source]
format_str[source]
static persist(context, task_instance, model_id, project_id, dataset_id)[source]

基於: airflow.providers.google.cloud.links.base.BaseGoogleLink

用於建構文字批次翻譯結果的輔助類別。

提供輸出結果的連結。

name = '文字批次翻譯'[source]
key = 'translate_text_batch'[source]
format_str[source]
static extract_output_uri_prefix(output_config)[source]
static persist(context, task_instance, project_id, output_config)[source]

基於: airflow.providers.google.cloud.links.base.BaseGoogleLink

用於建構傳統翻譯資料集連結的輔助類別。

傳統資料集由 AutoML API 建立和管理。

name = '翻譯原生資料集'[source]
key = 'translation_naive_dataset'[source]
format_str[source]
static persist(context, task_instance, dataset_id, project_id)[source]

基於: airflow.providers.google.cloud.links.base.BaseGoogleLink

用於建構翻譯資料集列表連結的輔助類別。

此連結下同時提供傳統和原生資料集。

name = '翻譯資料集列表'[source]
key = 'translation_dataset_list'[source]
format_str[source]
static persist(context, task_instance, project_id)[source]

基於: airflow.providers.google.cloud.links.base.BaseGoogleLink

用於建構翻譯模型連結的輔助類別。

傳統和原生模型的連結。

name = '翻譯模型'[source]
key = 'translation_model'[source]
format_str[source]
static persist(context, task_instance, dataset_id, model_id, project_id)[source]

基於: airflow.providers.google.cloud.links.base.BaseGoogleLink

用於建構翻譯模型列表連結的輔助類別。

此連結下同時提供傳統和原生模型。

name = '翻譯模型列表'[source]
key = 'translation_models_list'[source]
format_str[source]
static persist(context, task_instance, project_id)[source]

基於: airflow.providers.google.cloud.links.base.BaseGoogleLink

用於建構翻譯結果連結的輔助類別。

提供連結至 gcs 目的地輸出翻譯結果,透過提供的 output_config 並指定 gcs 目的地。

name = '依輸出配置翻譯結果'[source]
key = 'translate_results_by_output_config'[source]
format_str[source]
static extract_output_uri_prefix(output_config)[source]
static persist(context, task_instance, project_id, output_config)[source]

這個條目對您有幫助嗎?