oci.AiLanguage.Job
This resource provides the Job resource in Oracle Cloud Infrastructure Ai Language service.
Creates a new language service async job.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
testJob:
type: oci:AiLanguage:Job
name: test_job
properties:
compartmentId: ${compartmentId}
inputLocation:
bucket: ${jobInputLocationBucket}
locationType: ${jobInputLocationLocationType}
namespace: ${jobInputLocationNamespace}
objectNames: ${jobInputLocationObjectNames}
prefix: ${jobInputLocationPrefix}
modelMetadataDetails:
- configuration:
- configurationMap: ${jobModelMetadataDetailsConfigurationConfigurationMap}
endpointId: ${testEndpoint.id}
languageCode: ${jobModelMetadataDetailsLanguageCode}
modelId: ${testModel.id}
modelType: ${jobModelMetadataDetailsModelType}
outputLocation:
bucket: ${jobOutputLocationBucket}
namespace: ${jobOutputLocationNamespace}
prefix: ${jobOutputLocationPrefix}
description: ${jobDescription}
displayName: ${jobDisplayName}
inputConfiguration:
configuration:
- config: ${jobInputConfigurationConfigurationConfig}
documentTypes: ${jobInputConfigurationDocumentTypes}
Create Job Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);@overload
def Job(resource_name: str,
args: JobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Job(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
input_location: Optional[JobInputLocationArgs] = None,
model_metadata_details: Optional[Sequence[JobModelMetadataDetailArgs]] = None,
output_location: Optional[JobOutputLocationArgs] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
input_configuration: Optional[JobInputConfigurationArgs] = None)func NewJob(ctx *Context, name string, args JobArgs, opts ...ResourceOption) (*Job, error)public Job(string name, JobArgs args, CustomResourceOptions? opts = null)type: oci:AiLanguage:Job
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var jobResource = new Oci.AiLanguage.Job("jobResource", new()
{
CompartmentId = "string",
InputLocation = new Oci.AiLanguage.Inputs.JobInputLocationArgs
{
Bucket = "string",
LocationType = "string",
Namespace = "string",
ObjectNames = new[]
{
"string",
},
},
ModelMetadataDetails = new[]
{
new Oci.AiLanguage.Inputs.JobModelMetadataDetailArgs
{
Configuration =
{
{ "string",
{
{ "string", "string" },
} },
},
EndpointId = "string",
LanguageCode = "string",
ModelId = "string",
ModelType = "string",
},
},
OutputLocation = new Oci.AiLanguage.Inputs.JobOutputLocationArgs
{
Bucket = "string",
Namespace = "string",
Prefix = "string",
},
Description = "string",
DisplayName = "string",
InputConfiguration = new Oci.AiLanguage.Inputs.JobInputConfigurationArgs
{
Configuration =
{
{ "string",
{
{ "string", "string" },
} },
},
DocumentTypes = new[]
{
"string",
},
},
});
example, err := ailanguage.NewJob(ctx, "jobResource", &ailanguage.JobArgs{
CompartmentId: pulumi.String("string"),
InputLocation: &ailanguage.JobInputLocationArgs{
Bucket: pulumi.String("string"),
LocationType: pulumi.String("string"),
Namespace: pulumi.String("string"),
ObjectNames: pulumi.StringArray{
pulumi.String("string"),
},
},
ModelMetadataDetails: ailanguage.JobModelMetadataDetailArray{
&ailanguage.JobModelMetadataDetailArgs{
Configuration: pulumi.StringMapMap{
"string": pulumi.StringMap{
"string": pulumi.String("string"),
},
},
EndpointId: pulumi.String("string"),
LanguageCode: pulumi.String("string"),
ModelId: pulumi.String("string"),
ModelType: pulumi.String("string"),
},
},
OutputLocation: &ailanguage.JobOutputLocationArgs{
Bucket: pulumi.String("string"),
Namespace: pulumi.String("string"),
Prefix: pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
InputConfiguration: &ailanguage.JobInputConfigurationArgs{
Configuration: pulumi.StringMapMap{
"string": pulumi.StringMap{
"string": pulumi.String("string"),
},
},
DocumentTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var jobResource = new com.pulumi.oci.AiLanguage.Job("jobResource", com.pulumi.oci.AiLanguage.JobArgs.builder()
.compartmentId("string")
.inputLocation(JobInputLocationArgs.builder()
.bucket("string")
.locationType("string")
.namespace("string")
.objectNames("string")
.build())
.modelMetadataDetails(JobModelMetadataDetailArgs.builder()
.configuration(Map.of("string", Map.of("string", "string")))
.endpointId("string")
.languageCode("string")
.modelId("string")
.modelType("string")
.build())
.outputLocation(JobOutputLocationArgs.builder()
.bucket("string")
.namespace("string")
.prefix("string")
.build())
.description("string")
.displayName("string")
.inputConfiguration(JobInputConfigurationArgs.builder()
.configuration(Map.of("string", Map.of("string", "string")))
.documentTypes("string")
.build())
.build());
job_resource = oci.ailanguage.Job("jobResource",
compartment_id="string",
input_location={
"bucket": "string",
"location_type": "string",
"namespace": "string",
"object_names": ["string"],
},
model_metadata_details=[{
"configuration": {
"string": {
"string": "string",
},
},
"endpoint_id": "string",
"language_code": "string",
"model_id": "string",
"model_type": "string",
}],
output_location={
"bucket": "string",
"namespace": "string",
"prefix": "string",
},
description="string",
display_name="string",
input_configuration={
"configuration": {
"string": {
"string": "string",
},
},
"document_types": ["string"],
})
const jobResource = new oci.ailanguage.Job("jobResource", {
compartmentId: "string",
inputLocation: {
bucket: "string",
locationType: "string",
namespace: "string",
objectNames: ["string"],
},
modelMetadataDetails: [{
configuration: {
string: {
string: "string",
},
},
endpointId: "string",
languageCode: "string",
modelId: "string",
modelType: "string",
}],
outputLocation: {
bucket: "string",
namespace: "string",
prefix: "string",
},
description: "string",
displayName: "string",
inputConfiguration: {
configuration: {
string: {
string: "string",
},
},
documentTypes: ["string"],
},
});
type: oci:AiLanguage:Job
properties:
compartmentId: string
description: string
displayName: string
inputConfiguration:
configuration:
string:
string: string
documentTypes:
- string
inputLocation:
bucket: string
locationType: string
namespace: string
objectNames:
- string
modelMetadataDetails:
- configuration:
string:
string: string
endpointId: string
languageCode: string
modelId: string
modelType: string
outputLocation:
bucket: string
namespace: string
prefix: string
Job Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Job resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment where you want to create the job.
- Input
Location JobInput Location - document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
- Model
Metadata List<JobDetails Model Metadata Detail> - 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
- Output
Location JobOutput Location - Object storage output location to write inference results
- Description string
- (Updatable) A short description of the job.
- Display
Name string - (Updatable) A user-friendly display name for the job.
- Input
Configuration JobInput Configuration - input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
- Compartment
Id string - (Updatable) The OCID of the compartment where you want to create the job.
- Input
Location JobInput Location Args - document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
- Model
Metadata []JobDetails Model Metadata Detail Args - 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
- Output
Location JobOutput Location Args - Object storage output location to write inference results
- Description string
- (Updatable) A short description of the job.
- Display
Name string - (Updatable) A user-friendly display name for the job.
- Input
Configuration JobInput Configuration Args - input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
- compartment
Id String - (Updatable) The OCID of the compartment where you want to create the job.
- input
Location JobInput Location - document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
- model
Metadata List<JobDetails Model Metadata Detail> - 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
- output
Location JobOutput Location - Object storage output location to write inference results
- description String
- (Updatable) A short description of the job.
- display
Name String - (Updatable) A user-friendly display name for the job.
- input
Configuration JobInput Configuration - input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
- compartment
Id string - (Updatable) The OCID of the compartment where you want to create the job.
- input
Location JobInput Location - document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
- model
Metadata JobDetails Model Metadata Detail[] - 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
- output
Location JobOutput Location - Object storage output location to write inference results
- description string
- (Updatable) A short description of the job.
- display
Name string - (Updatable) A user-friendly display name for the job.
- input
Configuration JobInput Configuration - input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
- compartment_
id str - (Updatable) The OCID of the compartment where you want to create the job.
- input_
location JobInput Location Args - document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
- model_
metadata_ Sequence[Jobdetails Model Metadata Detail Args] - 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
- output_
location JobOutput Location Args - Object storage output location to write inference results
- description str
- (Updatable) A short description of the job.
- display_
name str - (Updatable) A user-friendly display name for the job.
- input_
configuration JobInput Configuration Args - input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
- compartment
Id String - (Updatable) The OCID of the compartment where you want to create the job.
- input
Location Property Map - document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
- model
Metadata List<Property Map>Details - 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
- output
Location Property Map - Object storage output location to write inference results
- description String
- (Updatable) A short description of the job.
- display
Name String - (Updatable) A user-friendly display name for the job.
- input
Configuration Property Map - input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
Outputs
All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:
- Completed
Documents int - Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- Created
By string - The OCID of the user who created the job.
- Failed
Documents int - Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Pending
Documents int - Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
- Percent
Complete int - How much progress the operation has made, vs the total amount of work that must be performed.
- State string
- The current state of the Job.
- Time
Accepted string - Job accepted time.
- Time
Completed string - Job finished time.
- Time
Started string - Job started time.
- Total
Documents int - Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- Ttl
In intDays - Time to live duration in days for Job. Job will be available till max 90 days.
- Warnings
Count int - warnings count
- Completed
Documents int - Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- Created
By string - The OCID of the user who created the job.
- Failed
Documents int - Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Pending
Documents int - Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
- Percent
Complete int - How much progress the operation has made, vs the total amount of work that must be performed.
- State string
- The current state of the Job.
- Time
Accepted string - Job accepted time.
- Time
Completed string - Job finished time.
- Time
Started string - Job started time.
- Total
Documents int - Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- Ttl
In intDays - Time to live duration in days for Job. Job will be available till max 90 days.
- Warnings
Count int - warnings count
- completed
Documents Integer - Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- created
By String - The OCID of the user who created the job.
- failed
Documents Integer - Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- pending
Documents Integer - Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
- percent
Complete Integer - How much progress the operation has made, vs the total amount of work that must be performed.
- state String
- The current state of the Job.
- time
Accepted String - Job accepted time.
- time
Completed String - Job finished time.
- time
Started String - Job started time.
- total
Documents Integer - Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- ttl
In IntegerDays - Time to live duration in days for Job. Job will be available till max 90 days.
- warnings
Count Integer - warnings count
- completed
Documents number - Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- created
By string - The OCID of the user who created the job.
- failed
Documents number - Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- pending
Documents number - Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
- percent
Complete number - How much progress the operation has made, vs the total amount of work that must be performed.
- state string
- The current state of the Job.
- time
Accepted string - Job accepted time.
- time
Completed string - Job finished time.
- time
Started string - Job started time.
- total
Documents number - Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- ttl
In numberDays - Time to live duration in days for Job. Job will be available till max 90 days.
- warnings
Count number - warnings count
- completed_
documents int - Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- created_
by str - The OCID of the user who created the job.
- failed_
documents int - Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- pending_
documents int - Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
- percent_
complete int - How much progress the operation has made, vs the total amount of work that must be performed.
- state str
- The current state of the Job.
- time_
accepted str - Job accepted time.
- time_
completed str - Job finished time.
- time_
started str - Job started time.
- total_
documents int - Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- ttl_
in_ intdays - Time to live duration in days for Job. Job will be available till max 90 days.
- warnings_
count int - warnings count
- completed
Documents Number - Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- created
By String - The OCID of the user who created the job.
- failed
Documents Number - Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- pending
Documents Number - Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
- percent
Complete Number - How much progress the operation has made, vs the total amount of work that must be performed.
- state String
- The current state of the Job.
- time
Accepted String - Job accepted time.
- time
Completed String - Job finished time.
- time
Started String - Job started time.
- total
Documents Number - Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- ttl
In NumberDays - Time to live duration in days for Job. Job will be available till max 90 days.
- warnings
Count Number - warnings count
Look up Existing Job Resource
Get an existing Job resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: JobState, opts?: CustomResourceOptions): Job@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
completed_documents: Optional[int] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
failed_documents: Optional[int] = None,
input_configuration: Optional[JobInputConfigurationArgs] = None,
input_location: Optional[JobInputLocationArgs] = None,
lifecycle_details: Optional[str] = None,
model_metadata_details: Optional[Sequence[JobModelMetadataDetailArgs]] = None,
output_location: Optional[JobOutputLocationArgs] = None,
pending_documents: Optional[int] = None,
percent_complete: Optional[int] = None,
state: Optional[str] = None,
time_accepted: Optional[str] = None,
time_completed: Optional[str] = None,
time_started: Optional[str] = None,
total_documents: Optional[int] = None,
ttl_in_days: Optional[int] = None,
warnings_count: Optional[int] = None) -> Jobfunc GetJob(ctx *Context, name string, id IDInput, state *JobState, opts ...ResourceOption) (*Job, error)public static Job Get(string name, Input<string> id, JobState? state, CustomResourceOptions? opts = null)public static Job get(String name, Output<String> id, JobState state, CustomResourceOptions options)resources: _: type: oci:AiLanguage:Job get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) The OCID of the compartment where you want to create the job.
- Completed
Documents int - Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- Created
By string - The OCID of the user who created the job.
- Description string
- (Updatable) A short description of the job.
- Display
Name string - (Updatable) A user-friendly display name for the job.
- Failed
Documents int - Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- Input
Configuration JobInput Configuration - input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
- Input
Location JobInput Location - document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Model
Metadata List<JobDetails Model Metadata Detail> - 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
- Output
Location JobOutput Location - Object storage output location to write inference results
- Pending
Documents int - Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
- Percent
Complete int - How much progress the operation has made, vs the total amount of work that must be performed.
- State string
- The current state of the Job.
- Time
Accepted string - Job accepted time.
- Time
Completed string - Job finished time.
- Time
Started string - Job started time.
- Total
Documents int - Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- Ttl
In intDays - Time to live duration in days for Job. Job will be available till max 90 days.
- Warnings
Count int - warnings count
- Compartment
Id string - (Updatable) The OCID of the compartment where you want to create the job.
- Completed
Documents int - Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- Created
By string - The OCID of the user who created the job.
- Description string
- (Updatable) A short description of the job.
- Display
Name string - (Updatable) A user-friendly display name for the job.
- Failed
Documents int - Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- Input
Configuration JobInput Configuration Args - input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
- Input
Location JobInput Location Args - document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Model
Metadata []JobDetails Model Metadata Detail Args - 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
- Output
Location JobOutput Location Args - Object storage output location to write inference results
- Pending
Documents int - Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
- Percent
Complete int - How much progress the operation has made, vs the total amount of work that must be performed.
- State string
- The current state of the Job.
- Time
Accepted string - Job accepted time.
- Time
Completed string - Job finished time.
- Time
Started string - Job started time.
- Total
Documents int - Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- Ttl
In intDays - Time to live duration in days for Job. Job will be available till max 90 days.
- Warnings
Count int - warnings count
- compartment
Id String - (Updatable) The OCID of the compartment where you want to create the job.
- completed
Documents Integer - Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- created
By String - The OCID of the user who created the job.
- description String
- (Updatable) A short description of the job.
- display
Name String - (Updatable) A user-friendly display name for the job.
- failed
Documents Integer - Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- input
Configuration JobInput Configuration - input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
- input
Location JobInput Location - document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- model
Metadata List<JobDetails Model Metadata Detail> - 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
- output
Location JobOutput Location - Object storage output location to write inference results
- pending
Documents Integer - Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
- percent
Complete Integer - How much progress the operation has made, vs the total amount of work that must be performed.
- state String
- The current state of the Job.
- time
Accepted String - Job accepted time.
- time
Completed String - Job finished time.
- time
Started String - Job started time.
- total
Documents Integer - Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- ttl
In IntegerDays - Time to live duration in days for Job. Job will be available till max 90 days.
- warnings
Count Integer - warnings count
- compartment
Id string - (Updatable) The OCID of the compartment where you want to create the job.
- completed
Documents number - Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- created
By string - The OCID of the user who created the job.
- description string
- (Updatable) A short description of the job.
- display
Name string - (Updatable) A user-friendly display name for the job.
- failed
Documents number - Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- input
Configuration JobInput Configuration - input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
- input
Location JobInput Location - document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- model
Metadata JobDetails Model Metadata Detail[] - 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
- output
Location JobOutput Location - Object storage output location to write inference results
- pending
Documents number - Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
- percent
Complete number - How much progress the operation has made, vs the total amount of work that must be performed.
- state string
- The current state of the Job.
- time
Accepted string - Job accepted time.
- time
Completed string - Job finished time.
- time
Started string - Job started time.
- total
Documents number - Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- ttl
In numberDays - Time to live duration in days for Job. Job will be available till max 90 days.
- warnings
Count number - warnings count
- compartment_
id str - (Updatable) The OCID of the compartment where you want to create the job.
- completed_
documents int - Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- created_
by str - The OCID of the user who created the job.
- description str
- (Updatable) A short description of the job.
- display_
name str - (Updatable) A user-friendly display name for the job.
- failed_
documents int - Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- input_
configuration JobInput Configuration Args - input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
- input_
location JobInput Location Args - document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- model_
metadata_ Sequence[Jobdetails Model Metadata Detail Args] - 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
- output_
location JobOutput Location Args - Object storage output location to write inference results
- pending_
documents int - Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
- percent_
complete int - How much progress the operation has made, vs the total amount of work that must be performed.
- state str
- The current state of the Job.
- time_
accepted str - Job accepted time.
- time_
completed str - Job finished time.
- time_
started str - Job started time.
- total_
documents int - Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- ttl_
in_ intdays - Time to live duration in days for Job. Job will be available till max 90 days.
- warnings_
count int - warnings count
- compartment
Id String - (Updatable) The OCID of the compartment where you want to create the job.
- completed
Documents Number - Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- created
By String - The OCID of the user who created the job.
- description String
- (Updatable) A short description of the job.
- display
Name String - (Updatable) A user-friendly display name for the job.
- failed
Documents Number - Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- input
Configuration Property Map - input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
- input
Location Property Map - document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- model
Metadata List<Property Map>Details - 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
- output
Location Property Map - Object storage output location to write inference results
- pending
Documents Number - Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
- percent
Complete Number - How much progress the operation has made, vs the total amount of work that must be performed.
- state String
- The current state of the Job.
- time
Accepted String - Job accepted time.
- time
Completed String - Job finished time.
- time
Started String - Job started time.
- total
Documents Number - Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
- ttl
In NumberDays - Time to live duration in days for Job. Job will be available till max 90 days.
- warnings
Count Number - warnings count
Supporting Types
JobInputConfiguration, JobInputConfigurationArgs
- Configuration
Dictionary<string, Immutable
Dictionary<string, string>> - meta data about documents For CSV valid JSON format is {"CSV" :{inputColumn: "reviewDetails", rowId: "reviewId", copyColumnsToOutput: ["reviewId" "userId"] , delimiter: ","} Note: In future if new file types added we will update here in documentation about input file meta data
- Document
Types List<string> - Type of documents supported for this release only TXT,CSV and one element is allowed here. for future scope this is marked as list
- Configuration map[string]map[string]string
- meta data about documents For CSV valid JSON format is {"CSV" :{inputColumn: "reviewDetails", rowId: "reviewId", copyColumnsToOutput: ["reviewId" "userId"] , delimiter: ","} Note: In future if new file types added we will update here in documentation about input file meta data
- Document
Types []string - Type of documents supported for this release only TXT,CSV and one element is allowed here. for future scope this is marked as list
- configuration Map<String,Map<String,String>>
- meta data about documents For CSV valid JSON format is {"CSV" :{inputColumn: "reviewDetails", rowId: "reviewId", copyColumnsToOutput: ["reviewId" "userId"] , delimiter: ","} Note: In future if new file types added we will update here in documentation about input file meta data
- document
Types List<String> - Type of documents supported for this release only TXT,CSV and one element is allowed here. for future scope this is marked as list
- configuration {[key: string]: {[key: string]: string}}
- meta data about documents For CSV valid JSON format is {"CSV" :{inputColumn: "reviewDetails", rowId: "reviewId", copyColumnsToOutput: ["reviewId" "userId"] , delimiter: ","} Note: In future if new file types added we will update here in documentation about input file meta data
- document
Types string[] - Type of documents supported for this release only TXT,CSV and one element is allowed here. for future scope this is marked as list
- configuration Mapping[str, Mapping[str, str]]
- meta data about documents For CSV valid JSON format is {"CSV" :{inputColumn: "reviewDetails", rowId: "reviewId", copyColumnsToOutput: ["reviewId" "userId"] , delimiter: ","} Note: In future if new file types added we will update here in documentation about input file meta data
- document_
types Sequence[str] - Type of documents supported for this release only TXT,CSV and one element is allowed here. for future scope this is marked as list
- configuration Map<Map<String>>
- meta data about documents For CSV valid JSON format is {"CSV" :{inputColumn: "reviewDetails", rowId: "reviewId", copyColumnsToOutput: ["reviewId" "userId"] , delimiter: ","} Note: In future if new file types added we will update here in documentation about input file meta data
- document
Types List<String> - Type of documents supported for this release only TXT,CSV and one element is allowed here. for future scope this is marked as list
JobInputLocation, JobInputLocationArgs
- Bucket string
- Object Storage bucket name.
- Location
Type string - locationType
- Namespace string
- Object Storage namespace name.
- Object
Names List<string> - List of objects to be processed
- Bucket string
- Object Storage bucket name.
- Location
Type string - locationType
- Namespace string
- Object Storage namespace name.
- Object
Names []string - List of objects to be processed
- bucket String
- Object Storage bucket name.
- location
Type String - locationType
- namespace String
- Object Storage namespace name.
- object
Names List<String> - List of objects to be processed
- bucket string
- Object Storage bucket name.
- location
Type string - locationType
- namespace string
- Object Storage namespace name.
- object
Names string[] - List of objects to be processed
- bucket str
- Object Storage bucket name.
- location_
type str - locationType
- namespace str
- Object Storage namespace name.
- object_
names Sequence[str] - List of objects to be processed
- bucket String
- Object Storage bucket name.
- location
Type String - locationType
- namespace String
- Object Storage namespace name.
- object
Names List<String> - List of objects to be processed
JobModelMetadataDetail, JobModelMetadataDetailArgs
- Configuration
Dictionary<string, Immutable
Dictionary<string, string>> - model configuration details For PII : < ENTITY_TYPE , ConfigurationDetails> ex."ORACLE":{ "mode" : "MASK","maskingCharacter" : "&","leaveCharactersUnmasked": 3,"isUnmaskedFromEnd" : true } For language translation : { "targetLanguageCodes" : ConfigurationDetails}
- Endpoint
Id string - Unique identifier endpoint OCID that should be used for inference
- Language
Code string - Language code supported
- auto : Automatically detect language
- ar : Arabic
- pt-BR : Brazilian Portuguese
- cs : Czech
- da : Danish
- nl : Dutch
- en : English
- fi : Finnish
- fr : French
- fr-CA : Canadian French
- de : German
- it : Italian
- ja : Japanese
- ko : Korean
- no : Norwegian
- pl : Polish
- ro : Romanian
- zh-CN : Simplified Chinese
- es : Spanish
- sv : Swedish
- zh-TW : Traditional Chinese
- tr : Turkish
- el : Greek
- he : Hebrew
- Model
Id string - Unique identifier model OCID that should be used for inference
- Model
Type string - model type to used for inference allowed values are
- LANGUAGE_SENTIMENT_ANALYSIS
- LANGUAGE_DETECTION
- TEXT_CLASSIFICATION
- NAMED_ENTITY_RECOGNITION
- KEY_PHRASE_EXTRACTION
- LANGUAGE_PII_ENTITIES
- LANGUAGE_TRANSLATION
- Configuration map[string]map[string]string
- model configuration details For PII : < ENTITY_TYPE , ConfigurationDetails> ex."ORACLE":{ "mode" : "MASK","maskingCharacter" : "&","leaveCharactersUnmasked": 3,"isUnmaskedFromEnd" : true } For language translation : { "targetLanguageCodes" : ConfigurationDetails}
- Endpoint
Id string - Unique identifier endpoint OCID that should be used for inference
- Language
Code string - Language code supported
- auto : Automatically detect language
- ar : Arabic
- pt-BR : Brazilian Portuguese
- cs : Czech
- da : Danish
- nl : Dutch
- en : English
- fi : Finnish
- fr : French
- fr-CA : Canadian French
- de : German
- it : Italian
- ja : Japanese
- ko : Korean
- no : Norwegian
- pl : Polish
- ro : Romanian
- zh-CN : Simplified Chinese
- es : Spanish
- sv : Swedish
- zh-TW : Traditional Chinese
- tr : Turkish
- el : Greek
- he : Hebrew
- Model
Id string - Unique identifier model OCID that should be used for inference
- Model
Type string - model type to used for inference allowed values are
- LANGUAGE_SENTIMENT_ANALYSIS
- LANGUAGE_DETECTION
- TEXT_CLASSIFICATION
- NAMED_ENTITY_RECOGNITION
- KEY_PHRASE_EXTRACTION
- LANGUAGE_PII_ENTITIES
- LANGUAGE_TRANSLATION
- configuration Map<String,Map<String,String>>
- model configuration details For PII : < ENTITY_TYPE , ConfigurationDetails> ex."ORACLE":{ "mode" : "MASK","maskingCharacter" : "&","leaveCharactersUnmasked": 3,"isUnmaskedFromEnd" : true } For language translation : { "targetLanguageCodes" : ConfigurationDetails}
- endpoint
Id String - Unique identifier endpoint OCID that should be used for inference
- language
Code String - Language code supported
- auto : Automatically detect language
- ar : Arabic
- pt-BR : Brazilian Portuguese
- cs : Czech
- da : Danish
- nl : Dutch
- en : English
- fi : Finnish
- fr : French
- fr-CA : Canadian French
- de : German
- it : Italian
- ja : Japanese
- ko : Korean
- no : Norwegian
- pl : Polish
- ro : Romanian
- zh-CN : Simplified Chinese
- es : Spanish
- sv : Swedish
- zh-TW : Traditional Chinese
- tr : Turkish
- el : Greek
- he : Hebrew
- model
Id String - Unique identifier model OCID that should be used for inference
- model
Type String - model type to used for inference allowed values are
- LANGUAGE_SENTIMENT_ANALYSIS
- LANGUAGE_DETECTION
- TEXT_CLASSIFICATION
- NAMED_ENTITY_RECOGNITION
- KEY_PHRASE_EXTRACTION
- LANGUAGE_PII_ENTITIES
- LANGUAGE_TRANSLATION
- configuration {[key: string]: {[key: string]: string}}
- model configuration details For PII : < ENTITY_TYPE , ConfigurationDetails> ex."ORACLE":{ "mode" : "MASK","maskingCharacter" : "&","leaveCharactersUnmasked": 3,"isUnmaskedFromEnd" : true } For language translation : { "targetLanguageCodes" : ConfigurationDetails}
- endpoint
Id string - Unique identifier endpoint OCID that should be used for inference
- language
Code string - Language code supported
- auto : Automatically detect language
- ar : Arabic
- pt-BR : Brazilian Portuguese
- cs : Czech
- da : Danish
- nl : Dutch
- en : English
- fi : Finnish
- fr : French
- fr-CA : Canadian French
- de : German
- it : Italian
- ja : Japanese
- ko : Korean
- no : Norwegian
- pl : Polish
- ro : Romanian
- zh-CN : Simplified Chinese
- es : Spanish
- sv : Swedish
- zh-TW : Traditional Chinese
- tr : Turkish
- el : Greek
- he : Hebrew
- model
Id string - Unique identifier model OCID that should be used for inference
- model
Type string - model type to used for inference allowed values are
- LANGUAGE_SENTIMENT_ANALYSIS
- LANGUAGE_DETECTION
- TEXT_CLASSIFICATION
- NAMED_ENTITY_RECOGNITION
- KEY_PHRASE_EXTRACTION
- LANGUAGE_PII_ENTITIES
- LANGUAGE_TRANSLATION
- configuration Mapping[str, Mapping[str, str]]
- model configuration details For PII : < ENTITY_TYPE , ConfigurationDetails> ex."ORACLE":{ "mode" : "MASK","maskingCharacter" : "&","leaveCharactersUnmasked": 3,"isUnmaskedFromEnd" : true } For language translation : { "targetLanguageCodes" : ConfigurationDetails}
- endpoint_
id str - Unique identifier endpoint OCID that should be used for inference
- language_
code str - Language code supported
- auto : Automatically detect language
- ar : Arabic
- pt-BR : Brazilian Portuguese
- cs : Czech
- da : Danish
- nl : Dutch
- en : English
- fi : Finnish
- fr : French
- fr-CA : Canadian French
- de : German
- it : Italian
- ja : Japanese
- ko : Korean
- no : Norwegian
- pl : Polish
- ro : Romanian
- zh-CN : Simplified Chinese
- es : Spanish
- sv : Swedish
- zh-TW : Traditional Chinese
- tr : Turkish
- el : Greek
- he : Hebrew
- model_
id str - Unique identifier model OCID that should be used for inference
- model_
type str - model type to used for inference allowed values are
- LANGUAGE_SENTIMENT_ANALYSIS
- LANGUAGE_DETECTION
- TEXT_CLASSIFICATION
- NAMED_ENTITY_RECOGNITION
- KEY_PHRASE_EXTRACTION
- LANGUAGE_PII_ENTITIES
- LANGUAGE_TRANSLATION
- configuration Map<Map<String>>
- model configuration details For PII : < ENTITY_TYPE , ConfigurationDetails> ex."ORACLE":{ "mode" : "MASK","maskingCharacter" : "&","leaveCharactersUnmasked": 3,"isUnmaskedFromEnd" : true } For language translation : { "targetLanguageCodes" : ConfigurationDetails}
- endpoint
Id String - Unique identifier endpoint OCID that should be used for inference
- language
Code String - Language code supported
- auto : Automatically detect language
- ar : Arabic
- pt-BR : Brazilian Portuguese
- cs : Czech
- da : Danish
- nl : Dutch
- en : English
- fi : Finnish
- fr : French
- fr-CA : Canadian French
- de : German
- it : Italian
- ja : Japanese
- ko : Korean
- no : Norwegian
- pl : Polish
- ro : Romanian
- zh-CN : Simplified Chinese
- es : Spanish
- sv : Swedish
- zh-TW : Traditional Chinese
- tr : Turkish
- el : Greek
- he : Hebrew
- model
Id String - Unique identifier model OCID that should be used for inference
- model
Type String - model type to used for inference allowed values are
- LANGUAGE_SENTIMENT_ANALYSIS
- LANGUAGE_DETECTION
- TEXT_CLASSIFICATION
- NAMED_ENTITY_RECOGNITION
- KEY_PHRASE_EXTRACTION
- LANGUAGE_PII_ENTITIES
- LANGUAGE_TRANSLATION
JobOutputLocation, JobOutputLocationArgs
- Bucket string
- Object Storage bucket name.
- Namespace string
- Object Storage namespace name.
- Prefix string
The prefix (directory) in an Object Storage bucket.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Bucket string
- Object Storage bucket name.
- Namespace string
- Object Storage namespace name.
- Prefix string
The prefix (directory) in an Object Storage bucket.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- bucket String
- Object Storage bucket name.
- namespace String
- Object Storage namespace name.
- prefix String
The prefix (directory) in an Object Storage bucket.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- bucket string
- Object Storage bucket name.
- namespace string
- Object Storage namespace name.
- prefix string
The prefix (directory) in an Object Storage bucket.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- bucket String
- Object Storage bucket name.
- namespace String
- Object Storage namespace name.
- prefix String
The prefix (directory) in an Object Storage bucket.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Import
Jobs can be imported using the id, e.g.
$ pulumi import oci:AiLanguage/job:Job test_job "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
