@@ -45,6 +45,9 @@ def language_group():
4545cli_util .rename_command (aiservicelanguage_cli , aiservicelanguage_cli .detect_language_sentiments_group , aiservicelanguage_cli .detect_language_sentiments , "detect-sentiments" )
4646cli_util .rename_command (aiservicelanguage_cli , aiservicelanguage_cli .detect_language_text_classification_group , aiservicelanguage_cli .detect_language_text_classification , "detect-text-classification" )
4747
48+ # Model Type Info API
49+ cli_util .rename_command (aiservicelanguage_cli , aiservicelanguage_cli .model_type_info_group , aiservicelanguage_cli .get_model_type , "get" )
50+
4851# Batch APIs
4952aiservicelanguage_cli .ai_root_group .commands .pop (aiservicelanguage_cli .batch_detect_dominant_language_group .name )
5053aiservicelanguage_cli .ai_root_group .commands .pop (aiservicelanguage_cli .batch_detect_language_entities_group .name )
@@ -84,6 +87,17 @@ def language_group():
8487aiservicelanguage_cli .model_group .commands .pop (aiservicelanguage_cli .create_model_text_classification_model_details .name )
8588aiservicelanguage_cli .model_group .commands .pop (aiservicelanguage_cli .create_model_test_and_validation_dataset_strategy .name )
8689
90+ aiservicelanguage_cli .model_group .commands .pop (aiservicelanguage_cli .create_model_pre_trained_key_phrase_extraction_model_details .name )
91+ aiservicelanguage_cli .model_group .commands .pop (aiservicelanguage_cli .create_model_pre_trained_health_nlu_model_details .name )
92+ aiservicelanguage_cli .model_group .commands .pop (aiservicelanguage_cli .create_model_pre_trained_universal_model .name )
93+ aiservicelanguage_cli .model_group .commands .pop (aiservicelanguage_cli .create_model_pre_trained_named_entity_recognition_model_details .name )
94+ aiservicelanguage_cli .model_group .commands .pop (aiservicelanguage_cli .create_model_pre_trained_language_detection_model_details .name )
95+ aiservicelanguage_cli .model_group .commands .pop (aiservicelanguage_cli .create_model_pre_trained_sentiment_analysis_model_details .name )
96+ aiservicelanguage_cli .model_group .commands .pop (aiservicelanguage_cli .create_model_pre_trained_phi_model_details .name )
97+ aiservicelanguage_cli .model_group .commands .pop (aiservicelanguage_cli .create_model_pre_trained_text_classification_model_details .name )
98+ aiservicelanguage_cli .model_group .commands .pop (aiservicelanguage_cli .create_model_pre_trained_summarization .name )
99+ aiservicelanguage_cli .model_group .commands .pop (aiservicelanguage_cli .create_model_pre_trained_pii_model_details .name )
100+
87101# Rename evaluation result command
88102cli_util .rename_command (aiservicelanguage_cli , aiservicelanguage_cli .evaluation_result_collection_group , aiservicelanguage_cli .list_evaluation_results , "list" )
89103cli_util .rename_command (aiservicelanguage_cli , aiservicelanguage_cli .ai_root_group , aiservicelanguage_cli .evaluation_result_collection_group , "evaluation-result" )
@@ -92,7 +106,7 @@ def language_group():
92106cli_util .rename_command (aiservicelanguage_cli , aiservicelanguage_cli .ai_root_group , aiservicelanguage_cli .work_request_error_group , "error" )
93107cli_util .rename_command (aiservicelanguage_cli , aiservicelanguage_cli .ai_root_group , aiservicelanguage_cli .work_request_log_group , "log" )
94108
95- # Remove project, model, endpoint, language_translation, work_request_long and work_request_error from root
109+ # Remove project, model, endpoint, language_translation, work_request_long, work_request_error and model_type_info from root
96110aiservicelanguage_cli .ai_root_group .commands .pop (aiservicelanguage_cli .project_group .name )
97111aiservicelanguage_cli .ai_root_group .commands .pop (aiservicelanguage_cli .model_group .name )
98112aiservicelanguage_cli .ai_root_group .commands .pop (aiservicelanguage_cli .endpoint_group .name )
@@ -101,14 +115,16 @@ def language_group():
101115aiservicelanguage_cli .ai_root_group .commands .pop (aiservicelanguage_cli .work_request_error_group .name )
102116aiservicelanguage_cli .ai_root_group .commands .pop (aiservicelanguage_cli .work_request_log_group .name )
103117aiservicelanguage_cli .ai_root_group .commands .pop (aiservicelanguage_cli .evaluation_result_collection_group .name )
118+ aiservicelanguage_cli .ai_root_group .commands .pop (aiservicelanguage_cli .model_type_info_group .name )
104119
105- # Add project, model, endpoint, language_translation group to language_group
120+ # Add project, model, endpoint, language_translation, model_type_info group to language_group
106121language_group .add_command (aiservicelanguage_cli .project_group )
107122language_group .add_command (aiservicelanguage_cli .model_group )
108123language_group .add_command (aiservicelanguage_cli .endpoint_group )
109124language_group .add_command (aiservicelanguage_cli .work_request_group )
110125language_group .add_command (aiservicelanguage_cli .batch_language_translation )
111126language_group .add_command (aiservicelanguage_cli .evaluation_result_collection_group )
127+ language_group .add_command (aiservicelanguage_cli .model_type_info_group )
112128
113129# Add work-request error and logs messages to work-request group
114130aiservicelanguage_cli .work_request_group .add_command (aiservicelanguage_cli .work_request_error_group )
0 commit comments