CreateJobDetails

class oci.ai_language.models.CreateJobDetails(**kwargs)

Bases: object

Job creation detail which will have documents on which language services need to run prediction along with output folder

Methods

__init__(**kwargs) Initializes a new CreateJobDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateJobDetails.
description Gets the description of this CreateJobDetails.
display_name Gets the display_name of this CreateJobDetails.
input_configuration Gets the input_configuration of this CreateJobDetails.
input_location [Required] Gets the input_location of this CreateJobDetails.
model_metadata_details [Required] Gets the model_metadata_details of this CreateJobDetails.
output_location [Required] Gets the output_location of this CreateJobDetails.
__init__(**kwargs)

Initializes a new CreateJobDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateJobDetails.
  • description (str) – The value to assign to the description property of this CreateJobDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateJobDetails.
  • input_location (oci.ai_language.models.InputLocation) – The value to assign to the input_location property of this CreateJobDetails.
  • input_configuration (oci.ai_language.models.InputConfiguration) – The value to assign to the input_configuration property of this CreateJobDetails.
  • model_metadata_details (list[oci.ai_language.models.ModelMetadataDetails]) – The value to assign to the model_metadata_details property of this CreateJobDetails.
  • output_location (oci.ai_language.models.ObjectPrefixOutputLocation) – The value to assign to the output_location property of this CreateJobDetails.
compartment_id

[Required] Gets the compartment_id of this CreateJobDetails. The OCID of the compartment where you want to create the job.

Returns:The compartment_id of this CreateJobDetails.
Return type:str
description

Gets the description of this CreateJobDetails. A short description of the job.

Returns:The description of this CreateJobDetails.
Return type:str
display_name

Gets the display_name of this CreateJobDetails. A user-friendly display name for the job.

Returns:The display_name of this CreateJobDetails.
Return type:str
input_configuration

Gets the input_configuration of this CreateJobDetails.

Returns:The input_configuration of this CreateJobDetails.
Return type:oci.ai_language.models.InputConfiguration
input_location

[Required] Gets the input_location of this CreateJobDetails.

Returns:The input_location of this CreateJobDetails.
Return type:oci.ai_language.models.InputLocation
model_metadata_details

[Required] Gets the model_metadata_details of this CreateJobDetails. training model details For this release only one model is allowed to be input here. One of the three modelType, ModelId, endpointId should be given other wise error will be thrown from API

Returns:The model_metadata_details of this CreateJobDetails.
Return type:list[oci.ai_language.models.ModelMetadataDetails]
output_location

[Required] Gets the output_location of this CreateJobDetails.

Returns:The output_location of this CreateJobDetails.
Return type:oci.ai_language.models.ObjectPrefixOutputLocation