1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. AiDocument
  5. getModels
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.AiDocument.getModels

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

This data source provides the list of Models in Oracle Cloud Infrastructure Ai Document service.

Returns a list of models in a compartment.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testModels = oci.AiDocument.getModels({
    compartmentId: compartmentId,
    displayName: modelDisplayName,
    id: modelId,
    projectId: testProject.id,
    state: modelState,
});
Copy
import pulumi
import pulumi_oci as oci

test_models = oci.AiDocument.get_models(compartment_id=compartment_id,
    display_name=model_display_name,
    id=model_id,
    project_id=test_project["id"],
    state=model_state)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/aidocument"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aidocument.GetModels(ctx, &aidocument.GetModelsArgs{
			CompartmentId: pulumi.StringRef(compartmentId),
			DisplayName:   pulumi.StringRef(modelDisplayName),
			Id:            pulumi.StringRef(modelId),
			ProjectId:     pulumi.StringRef(testProject.Id),
			State:         pulumi.StringRef(modelState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testModels = Oci.AiDocument.GetModels.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = modelDisplayName,
        Id = modelId,
        ProjectId = testProject.Id,
        State = modelState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.AiDocument.AiDocumentFunctions;
import com.pulumi.oci.AiDocument.inputs.GetModelsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testModels = AiDocumentFunctions.getModels(GetModelsArgs.builder()
            .compartmentId(compartmentId)
            .displayName(modelDisplayName)
            .id(modelId)
            .projectId(testProject.id())
            .state(modelState)
            .build());

    }
}
Copy
variables:
  testModels:
    fn::invoke:
      function: oci:AiDocument:getModels
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${modelDisplayName}
        id: ${modelId}
        projectId: ${testProject.id}
        state: ${modelState}
Copy

Using getModels

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getModels(args: GetModelsArgs, opts?: InvokeOptions): Promise<GetModelsResult>
function getModelsOutput(args: GetModelsOutputArgs, opts?: InvokeOptions): Output<GetModelsResult>
Copy
def get_models(compartment_id: Optional[str] = None,
               display_name: Optional[str] = None,
               filters: Optional[Sequence[_aidocument.GetModelsFilter]] = None,
               id: Optional[str] = None,
               project_id: Optional[str] = None,
               state: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetModelsResult
def get_models_output(compartment_id: Optional[pulumi.Input[str]] = None,
               display_name: Optional[pulumi.Input[str]] = None,
               filters: Optional[pulumi.Input[Sequence[pulumi.Input[_aidocument.GetModelsFilterArgs]]]] = None,
               id: Optional[pulumi.Input[str]] = None,
               project_id: Optional[pulumi.Input[str]] = None,
               state: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetModelsResult]
Copy
func GetModels(ctx *Context, args *GetModelsArgs, opts ...InvokeOption) (*GetModelsResult, error)
func GetModelsOutput(ctx *Context, args *GetModelsOutputArgs, opts ...InvokeOption) GetModelsResultOutput
Copy

> Note: This function is named GetModels in the Go SDK.

public static class GetModels 
{
    public static Task<GetModelsResult> InvokeAsync(GetModelsArgs args, InvokeOptions? opts = null)
    public static Output<GetModelsResult> Invoke(GetModelsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetModelsResult> getModels(GetModelsArgs args, InvokeOptions options)
public static Output<GetModelsResult> getModels(GetModelsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:AiDocument/getModels:getModels
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId string
The ID of the compartment in which to list resources.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. List<GetModelsFilter>
Id string
The filter to find the model with the given identifier.
ProjectId string
The ID of the project for which to list the objects.
State string
The filter to match models with the given lifecycleState.
CompartmentId string
The ID of the compartment in which to list resources.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. []GetModelsFilter
Id string
The filter to find the model with the given identifier.
ProjectId string
The ID of the project for which to list the objects.
State string
The filter to match models with the given lifecycleState.
compartmentId String
The ID of the compartment in which to list resources.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<GetModelsFilter>
id String
The filter to find the model with the given identifier.
projectId String
The ID of the project for which to list the objects.
state String
The filter to match models with the given lifecycleState.
compartmentId string
The ID of the compartment in which to list resources.
displayName string
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. GetModelsFilter[]
id string
The filter to find the model with the given identifier.
projectId string
The ID of the project for which to list the objects.
state string
The filter to match models with the given lifecycleState.
compartment_id str
The ID of the compartment in which to list resources.
display_name str
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. Sequence[aidocument.GetModelsFilter]
id str
The filter to find the model with the given identifier.
project_id str
The ID of the project for which to list the objects.
state str
The filter to match models with the given lifecycleState.
compartmentId String
The ID of the compartment in which to list resources.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<Property Map>
id String
The filter to find the model with the given identifier.
projectId String
The ID of the project for which to list the objects.
state String
The filter to match models with the given lifecycleState.

getModels Result

The following output properties are available:

ModelCollections List<GetModelsModelCollection>
The list of model_collection.
CompartmentId string
The compartment identifier.
DisplayName string
A human-friendly name for the model, which can be changed.
Filters List<GetModelsFilter>
Id string
A unique identifier that is immutable after creation.
ProjectId string
The OCID of the project that contains the model.
State string
The current state of the model.
ModelCollections []GetModelsModelCollection
The list of model_collection.
CompartmentId string
The compartment identifier.
DisplayName string
A human-friendly name for the model, which can be changed.
Filters []GetModelsFilter
Id string
A unique identifier that is immutable after creation.
ProjectId string
The OCID of the project that contains the model.
State string
The current state of the model.
modelCollections List<GetModelsModelCollection>
The list of model_collection.
compartmentId String
The compartment identifier.
displayName String
A human-friendly name for the model, which can be changed.
filters List<GetModelsFilter>
id String
A unique identifier that is immutable after creation.
projectId String
The OCID of the project that contains the model.
state String
The current state of the model.
modelCollections GetModelsModelCollection[]
The list of model_collection.
compartmentId string
The compartment identifier.
displayName string
A human-friendly name for the model, which can be changed.
filters GetModelsFilter[]
id string
A unique identifier that is immutable after creation.
projectId string
The OCID of the project that contains the model.
state string
The current state of the model.
model_collections Sequence[aidocument.GetModelsModelCollection]
The list of model_collection.
compartment_id str
The compartment identifier.
display_name str
A human-friendly name for the model, which can be changed.
filters Sequence[aidocument.GetModelsFilter]
id str
A unique identifier that is immutable after creation.
project_id str
The OCID of the project that contains the model.
state str
The current state of the model.
modelCollections List<Property Map>
The list of model_collection.
compartmentId String
The compartment identifier.
displayName String
A human-friendly name for the model, which can be changed.
filters List<Property Map>
id String
A unique identifier that is immutable after creation.
projectId String
The OCID of the project that contains the model.
state String
The current state of the model.

Supporting Types

GetModelsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetModelsModelCollection

Items This property is required. List<GetModelsModelCollectionItem>
Items This property is required. []GetModelsModelCollectionItem
items This property is required. List<GetModelsModelCollectionItem>
items This property is required. GetModelsModelCollectionItem[]
items This property is required. List<Property Map>

GetModelsModelCollectionItem

CompartmentId This property is required. string
The ID of the compartment in which to list resources.
ComponentModels This property is required. List<GetModelsModelCollectionItemComponentModel>
The OCID collection of active custom Key Value models that need to be composed.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
Description This property is required. string
An optional description of the model.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
FreeformTags This property is required. Dictionary<string, string>
A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
Id This property is required. string
The filter to find the model with the given identifier.
IsComposedModel This property is required. bool
Set to true when the model is created by using multiple key value extraction models.
IsQuickMode This property is required. bool
Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data.
Labels This property is required. List<string>
The collection of labels used to train the custom model.
LifecycleDetails This property is required. string
A message describing the current state in more detail, that can provide actionable information if training failed.
MaxTrainingTimeInHours This property is required. double
The maximum model training time in hours, expressed as a decimal fraction.
Metrics This property is required. List<GetModelsModelCollectionItemMetric>
Trained Model Metrics.
ModelId This property is required. string
The OCID of active custom Key Value model that need to be composed.
ModelType This property is required. string
The type of the Document model.
ModelVersion This property is required. string
The version of the model.
ProjectId This property is required. string
The ID of the project for which to list the objects.
State This property is required. string
The filter to match models with the given lifecycleState.
SystemTags This property is required. Dictionary<string, string>
Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
TenancyId This property is required. string
The tenancy id of the model.
TestingDatasets This property is required. List<GetModelsModelCollectionItemTestingDataset>
The base entity which is the input for creating and training a model.
TimeCreated This property is required. string
When the model was created, as an RFC3339 datetime string.
TimeUpdated This property is required. string
When the model was updated, as an RFC3339 datetime string.
TrainedTimeInHours This property is required. double
The total hours actually used for model training.
TrainingDatasets This property is required. List<GetModelsModelCollectionItemTrainingDataset>
The base entity which is the input for creating and training a model.
ValidationDatasets This property is required. List<GetModelsModelCollectionItemValidationDataset>
The base entity which is the input for creating and training a model.
CompartmentId This property is required. string
The ID of the compartment in which to list resources.
ComponentModels This property is required. []GetModelsModelCollectionItemComponentModel
The OCID collection of active custom Key Value models that need to be composed.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
Description This property is required. string
An optional description of the model.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
FreeformTags This property is required. map[string]string
A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
Id This property is required. string
The filter to find the model with the given identifier.
IsComposedModel This property is required. bool
Set to true when the model is created by using multiple key value extraction models.
IsQuickMode This property is required. bool
Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data.
Labels This property is required. []string
The collection of labels used to train the custom model.
LifecycleDetails This property is required. string
A message describing the current state in more detail, that can provide actionable information if training failed.
MaxTrainingTimeInHours This property is required. float64
The maximum model training time in hours, expressed as a decimal fraction.
Metrics This property is required. []GetModelsModelCollectionItemMetric
Trained Model Metrics.
ModelId This property is required. string
The OCID of active custom Key Value model that need to be composed.
ModelType This property is required. string
The type of the Document model.
ModelVersion This property is required. string
The version of the model.
ProjectId This property is required. string
The ID of the project for which to list the objects.
State This property is required. string
The filter to match models with the given lifecycleState.
SystemTags This property is required. map[string]string
Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
TenancyId This property is required. string
The tenancy id of the model.
TestingDatasets This property is required. []GetModelsModelCollectionItemTestingDataset
The base entity which is the input for creating and training a model.
TimeCreated This property is required. string
When the model was created, as an RFC3339 datetime string.
TimeUpdated This property is required. string
When the model was updated, as an RFC3339 datetime string.
TrainedTimeInHours This property is required. float64
The total hours actually used for model training.
TrainingDatasets This property is required. []GetModelsModelCollectionItemTrainingDataset
The base entity which is the input for creating and training a model.
ValidationDatasets This property is required. []GetModelsModelCollectionItemValidationDataset
The base entity which is the input for creating and training a model.
compartmentId This property is required. String
The ID of the compartment in which to list resources.
componentModels This property is required. List<GetModelsModelCollectionItemComponentModel>
The OCID collection of active custom Key Value models that need to be composed.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
description This property is required. String
An optional description of the model.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
freeformTags This property is required. Map<String,String>
A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
id This property is required. String
The filter to find the model with the given identifier.
isComposedModel This property is required. Boolean
Set to true when the model is created by using multiple key value extraction models.
isQuickMode This property is required. Boolean
Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data.
labels This property is required. List<String>
The collection of labels used to train the custom model.
lifecycleDetails This property is required. String
A message describing the current state in more detail, that can provide actionable information if training failed.
maxTrainingTimeInHours This property is required. Double
The maximum model training time in hours, expressed as a decimal fraction.
metrics This property is required. List<GetModelsModelCollectionItemMetric>
Trained Model Metrics.
modelId This property is required. String
The OCID of active custom Key Value model that need to be composed.
modelType This property is required. String
The type of the Document model.
modelVersion This property is required. String
The version of the model.
projectId This property is required. String
The ID of the project for which to list the objects.
state This property is required. String
The filter to match models with the given lifecycleState.
systemTags This property is required. Map<String,String>
Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
tenancyId This property is required. String
The tenancy id of the model.
testingDatasets This property is required. List<GetModelsModelCollectionItemTestingDataset>
The base entity which is the input for creating and training a model.
timeCreated This property is required. String
When the model was created, as an RFC3339 datetime string.
timeUpdated This property is required. String
When the model was updated, as an RFC3339 datetime string.
trainedTimeInHours This property is required. Double
The total hours actually used for model training.
trainingDatasets This property is required. List<GetModelsModelCollectionItemTrainingDataset>
The base entity which is the input for creating and training a model.
validationDatasets This property is required. List<GetModelsModelCollectionItemValidationDataset>
The base entity which is the input for creating and training a model.
compartmentId This property is required. string
The ID of the compartment in which to list resources.
componentModels This property is required. GetModelsModelCollectionItemComponentModel[]
The OCID collection of active custom Key Value models that need to be composed.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
description This property is required. string
An optional description of the model.
displayName This property is required. string
A filter to return only resources that match the entire display name given.
freeformTags This property is required. {[key: string]: string}
A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
id This property is required. string
The filter to find the model with the given identifier.
isComposedModel This property is required. boolean
Set to true when the model is created by using multiple key value extraction models.
isQuickMode This property is required. boolean
Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data.
labels This property is required. string[]
The collection of labels used to train the custom model.
lifecycleDetails This property is required. string
A message describing the current state in more detail, that can provide actionable information if training failed.
maxTrainingTimeInHours This property is required. number
The maximum model training time in hours, expressed as a decimal fraction.
metrics This property is required. GetModelsModelCollectionItemMetric[]
Trained Model Metrics.
modelId This property is required. string
The OCID of active custom Key Value model that need to be composed.
modelType This property is required. string
The type of the Document model.
modelVersion This property is required. string
The version of the model.
projectId This property is required. string
The ID of the project for which to list the objects.
state This property is required. string
The filter to match models with the given lifecycleState.
systemTags This property is required. {[key: string]: string}
Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
tenancyId This property is required. string
The tenancy id of the model.
testingDatasets This property is required. GetModelsModelCollectionItemTestingDataset[]
The base entity which is the input for creating and training a model.
timeCreated This property is required. string
When the model was created, as an RFC3339 datetime string.
timeUpdated This property is required. string
When the model was updated, as an RFC3339 datetime string.
trainedTimeInHours This property is required. number
The total hours actually used for model training.
trainingDatasets This property is required. GetModelsModelCollectionItemTrainingDataset[]
The base entity which is the input for creating and training a model.
validationDatasets This property is required. GetModelsModelCollectionItemValidationDataset[]
The base entity which is the input for creating and training a model.
compartment_id This property is required. str
The ID of the compartment in which to list resources.
component_models This property is required. Sequence[aidocument.GetModelsModelCollectionItemComponentModel]
The OCID collection of active custom Key Value models that need to be composed.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
description This property is required. str
An optional description of the model.
display_name This property is required. str
A filter to return only resources that match the entire display name given.
freeform_tags This property is required. Mapping[str, str]
A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
id This property is required. str
The filter to find the model with the given identifier.
is_composed_model This property is required. bool
Set to true when the model is created by using multiple key value extraction models.
is_quick_mode This property is required. bool
Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data.
labels This property is required. Sequence[str]
The collection of labels used to train the custom model.
lifecycle_details This property is required. str
A message describing the current state in more detail, that can provide actionable information if training failed.
max_training_time_in_hours This property is required. float
The maximum model training time in hours, expressed as a decimal fraction.
metrics This property is required. Sequence[aidocument.GetModelsModelCollectionItemMetric]
Trained Model Metrics.
model_id This property is required. str
The OCID of active custom Key Value model that need to be composed.
model_type This property is required. str
The type of the Document model.
model_version This property is required. str
The version of the model.
project_id This property is required. str
The ID of the project for which to list the objects.
state This property is required. str
The filter to match models with the given lifecycleState.
system_tags This property is required. Mapping[str, str]
Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
tenancy_id This property is required. str
The tenancy id of the model.
testing_datasets This property is required. Sequence[aidocument.GetModelsModelCollectionItemTestingDataset]
The base entity which is the input for creating and training a model.
time_created This property is required. str
When the model was created, as an RFC3339 datetime string.
time_updated This property is required. str
When the model was updated, as an RFC3339 datetime string.
trained_time_in_hours This property is required. float
The total hours actually used for model training.
training_datasets This property is required. Sequence[aidocument.GetModelsModelCollectionItemTrainingDataset]
The base entity which is the input for creating and training a model.
validation_datasets This property is required. Sequence[aidocument.GetModelsModelCollectionItemValidationDataset]
The base entity which is the input for creating and training a model.
compartmentId This property is required. String
The ID of the compartment in which to list resources.
componentModels This property is required. List<Property Map>
The OCID collection of active custom Key Value models that need to be composed.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
description This property is required. String
An optional description of the model.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
freeformTags This property is required. Map<String>
A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
id This property is required. String
The filter to find the model with the given identifier.
isComposedModel This property is required. Boolean
Set to true when the model is created by using multiple key value extraction models.
isQuickMode This property is required. Boolean
Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data.
labels This property is required. List<String>
The collection of labels used to train the custom model.
lifecycleDetails This property is required. String
A message describing the current state in more detail, that can provide actionable information if training failed.
maxTrainingTimeInHours This property is required. Number
The maximum model training time in hours, expressed as a decimal fraction.
metrics This property is required. List<Property Map>
Trained Model Metrics.
modelId This property is required. String
The OCID of active custom Key Value model that need to be composed.
modelType This property is required. String
The type of the Document model.
modelVersion This property is required. String
The version of the model.
projectId This property is required. String
The ID of the project for which to list the objects.
state This property is required. String
The filter to match models with the given lifecycleState.
systemTags This property is required. Map<String>
Usage of system tag keys. These predefined keys are scoped to namespaces. For example: {"orcl-cloud": {"free-tier-retained": "true"}}
tenancyId This property is required. String
The tenancy id of the model.
testingDatasets This property is required. List<Property Map>
The base entity which is the input for creating and training a model.
timeCreated This property is required. String
When the model was created, as an RFC3339 datetime string.
timeUpdated This property is required. String
When the model was updated, as an RFC3339 datetime string.
trainedTimeInHours This property is required. Number
The total hours actually used for model training.
trainingDatasets This property is required. List<Property Map>
The base entity which is the input for creating and training a model.
validationDatasets This property is required. List<Property Map>
The base entity which is the input for creating and training a model.

GetModelsModelCollectionItemComponentModel

ModelId This property is required. string
The OCID of active custom Key Value model that need to be composed.
ModelId This property is required. string
The OCID of active custom Key Value model that need to be composed.
modelId This property is required. String
The OCID of active custom Key Value model that need to be composed.
modelId This property is required. string
The OCID of active custom Key Value model that need to be composed.
model_id This property is required. str
The OCID of active custom Key Value model that need to be composed.
modelId This property is required. String
The OCID of active custom Key Value model that need to be composed.

GetModelsModelCollectionItemMetric

DatasetSummaries This property is required. List<GetModelsModelCollectionItemMetricDatasetSummary>
Summary of count of samples used during model training.
LabelMetricsReports This property is required. List<GetModelsModelCollectionItemMetricLabelMetricsReport>
List of metrics entries per label.
ModelType This property is required. string
The type of the Document model.
OverallMetricsReports This property is required. List<GetModelsModelCollectionItemMetricOverallMetricsReport>
Overall Metrics report for Document Classification Model.
DatasetSummaries This property is required. []GetModelsModelCollectionItemMetricDatasetSummary
Summary of count of samples used during model training.
LabelMetricsReports This property is required. []GetModelsModelCollectionItemMetricLabelMetricsReport
List of metrics entries per label.
ModelType This property is required. string
The type of the Document model.
OverallMetricsReports This property is required. []GetModelsModelCollectionItemMetricOverallMetricsReport
Overall Metrics report for Document Classification Model.
datasetSummaries This property is required. List<GetModelsModelCollectionItemMetricDatasetSummary>
Summary of count of samples used during model training.
labelMetricsReports This property is required. List<GetModelsModelCollectionItemMetricLabelMetricsReport>
List of metrics entries per label.
modelType This property is required. String
The type of the Document model.
overallMetricsReports This property is required. List<GetModelsModelCollectionItemMetricOverallMetricsReport>
Overall Metrics report for Document Classification Model.
datasetSummaries This property is required. GetModelsModelCollectionItemMetricDatasetSummary[]
Summary of count of samples used during model training.
labelMetricsReports This property is required. GetModelsModelCollectionItemMetricLabelMetricsReport[]
List of metrics entries per label.
modelType This property is required. string
The type of the Document model.
overallMetricsReports This property is required. GetModelsModelCollectionItemMetricOverallMetricsReport[]
Overall Metrics report for Document Classification Model.
dataset_summaries This property is required. Sequence[aidocument.GetModelsModelCollectionItemMetricDatasetSummary]
Summary of count of samples used during model training.
label_metrics_reports This property is required. Sequence[aidocument.GetModelsModelCollectionItemMetricLabelMetricsReport]
List of metrics entries per label.
model_type This property is required. str
The type of the Document model.
overall_metrics_reports This property is required. Sequence[aidocument.GetModelsModelCollectionItemMetricOverallMetricsReport]
Overall Metrics report for Document Classification Model.
datasetSummaries This property is required. List<Property Map>
Summary of count of samples used during model training.
labelMetricsReports This property is required. List<Property Map>
List of metrics entries per label.
modelType This property is required. String
The type of the Document model.
overallMetricsReports This property is required. List<Property Map>
Overall Metrics report for Document Classification Model.

GetModelsModelCollectionItemMetricDatasetSummary

TestSampleCount This property is required. int
Number of samples used for testing the model.
TrainingSampleCount This property is required. int
Number of samples used for training the model.
ValidationSampleCount This property is required. int
Number of samples used for validating the model.
TestSampleCount This property is required. int
Number of samples used for testing the model.
TrainingSampleCount This property is required. int
Number of samples used for training the model.
ValidationSampleCount This property is required. int
Number of samples used for validating the model.
testSampleCount This property is required. Integer
Number of samples used for testing the model.
trainingSampleCount This property is required. Integer
Number of samples used for training the model.
validationSampleCount This property is required. Integer
Number of samples used for validating the model.
testSampleCount This property is required. number
Number of samples used for testing the model.
trainingSampleCount This property is required. number
Number of samples used for training the model.
validationSampleCount This property is required. number
Number of samples used for validating the model.
test_sample_count This property is required. int
Number of samples used for testing the model.
training_sample_count This property is required. int
Number of samples used for training the model.
validation_sample_count This property is required. int
Number of samples used for validating the model.
testSampleCount This property is required. Number
Number of samples used for testing the model.
trainingSampleCount This property is required. Number
Number of samples used for training the model.
validationSampleCount This property is required. Number
Number of samples used for validating the model.

GetModelsModelCollectionItemMetricLabelMetricsReport

ConfidenceEntries This property is required. List<GetModelsModelCollectionItemMetricLabelMetricsReportConfidenceEntry>
List of document classification confidence report.
DocumentCount This property is required. int
Total test documents in the label.
Label This property is required. string
Label name
MeanAveragePrecision This property is required. double
Mean average precision under different thresholds
ConfidenceEntries This property is required. []GetModelsModelCollectionItemMetricLabelMetricsReportConfidenceEntry
List of document classification confidence report.
DocumentCount This property is required. int
Total test documents in the label.
Label This property is required. string
Label name
MeanAveragePrecision This property is required. float64
Mean average precision under different thresholds
confidenceEntries This property is required. List<GetModelsModelCollectionItemMetricLabelMetricsReportConfidenceEntry>
List of document classification confidence report.
documentCount This property is required. Integer
Total test documents in the label.
label This property is required. String
Label name
meanAveragePrecision This property is required. Double
Mean average precision under different thresholds
confidenceEntries This property is required. GetModelsModelCollectionItemMetricLabelMetricsReportConfidenceEntry[]
List of document classification confidence report.
documentCount This property is required. number
Total test documents in the label.
label This property is required. string
Label name
meanAveragePrecision This property is required. number
Mean average precision under different thresholds
confidence_entries This property is required. Sequence[aidocument.GetModelsModelCollectionItemMetricLabelMetricsReportConfidenceEntry]
List of document classification confidence report.
document_count This property is required. int
Total test documents in the label.
label This property is required. str
Label name
mean_average_precision This property is required. float
Mean average precision under different thresholds
confidenceEntries This property is required. List<Property Map>
List of document classification confidence report.
documentCount This property is required. Number
Total test documents in the label.
label This property is required. String
Label name
meanAveragePrecision This property is required. Number
Mean average precision under different thresholds

GetModelsModelCollectionItemMetricLabelMetricsReportConfidenceEntry

Accuracy This property is required. double
accuracy under the threshold
F1score This property is required. double
f1Score under the threshold
Precision This property is required. double
Precision under the threshold
Recall This property is required. double
Recall under the threshold
Threshold This property is required. double
Threshold used to calculate precision and recall.
Accuracy This property is required. float64
accuracy under the threshold
F1score This property is required. float64
f1Score under the threshold
Precision This property is required. float64
Precision under the threshold
Recall This property is required. float64
Recall under the threshold
Threshold This property is required. float64
Threshold used to calculate precision and recall.
accuracy This property is required. Double
accuracy under the threshold
f1score This property is required. Double
f1Score under the threshold
precision This property is required. Double
Precision under the threshold
recall This property is required. Double
Recall under the threshold
threshold This property is required. Double
Threshold used to calculate precision and recall.
accuracy This property is required. number
accuracy under the threshold
f1score This property is required. number
f1Score under the threshold
precision This property is required. number
Precision under the threshold
recall This property is required. number
Recall under the threshold
threshold This property is required. number
Threshold used to calculate precision and recall.
accuracy This property is required. float
accuracy under the threshold
f1score This property is required. float
f1Score under the threshold
precision This property is required. float
Precision under the threshold
recall This property is required. float
Recall under the threshold
threshold This property is required. float
Threshold used to calculate precision and recall.
accuracy This property is required. Number
accuracy under the threshold
f1score This property is required. Number
f1Score under the threshold
precision This property is required. Number
Precision under the threshold
recall This property is required. Number
Recall under the threshold
threshold This property is required. Number
Threshold used to calculate precision and recall.

GetModelsModelCollectionItemMetricOverallMetricsReport

ConfidenceEntries This property is required. List<GetModelsModelCollectionItemMetricOverallMetricsReportConfidenceEntry>
List of document classification confidence report.
DocumentCount This property is required. int
Total test documents in the label.
MeanAveragePrecision This property is required. double
Mean average precision under different thresholds
ConfidenceEntries This property is required. []GetModelsModelCollectionItemMetricOverallMetricsReportConfidenceEntry
List of document classification confidence report.
DocumentCount This property is required. int
Total test documents in the label.
MeanAveragePrecision This property is required. float64
Mean average precision under different thresholds
confidenceEntries This property is required. List<GetModelsModelCollectionItemMetricOverallMetricsReportConfidenceEntry>
List of document classification confidence report.
documentCount This property is required. Integer
Total test documents in the label.
meanAveragePrecision This property is required. Double
Mean average precision under different thresholds
confidenceEntries This property is required. GetModelsModelCollectionItemMetricOverallMetricsReportConfidenceEntry[]
List of document classification confidence report.
documentCount This property is required. number
Total test documents in the label.
meanAveragePrecision This property is required. number
Mean average precision under different thresholds
confidence_entries This property is required. Sequence[aidocument.GetModelsModelCollectionItemMetricOverallMetricsReportConfidenceEntry]
List of document classification confidence report.
document_count This property is required. int
Total test documents in the label.
mean_average_precision This property is required. float
Mean average precision under different thresholds
confidenceEntries This property is required. List<Property Map>
List of document classification confidence report.
documentCount This property is required. Number
Total test documents in the label.
meanAveragePrecision This property is required. Number
Mean average precision under different thresholds

GetModelsModelCollectionItemMetricOverallMetricsReportConfidenceEntry

Accuracy This property is required. double
accuracy under the threshold
F1score This property is required. double
f1Score under the threshold
Precision This property is required. double
Precision under the threshold
Recall This property is required. double
Recall under the threshold
Threshold This property is required. double
Threshold used to calculate precision and recall.
Accuracy This property is required. float64
accuracy under the threshold
F1score This property is required. float64
f1Score under the threshold
Precision This property is required. float64
Precision under the threshold
Recall This property is required. float64
Recall under the threshold
Threshold This property is required. float64
Threshold used to calculate precision and recall.
accuracy This property is required. Double
accuracy under the threshold
f1score This property is required. Double
f1Score under the threshold
precision This property is required. Double
Precision under the threshold
recall This property is required. Double
Recall under the threshold
threshold This property is required. Double
Threshold used to calculate precision and recall.
accuracy This property is required. number
accuracy under the threshold
f1score This property is required. number
f1Score under the threshold
precision This property is required. number
Precision under the threshold
recall This property is required. number
Recall under the threshold
threshold This property is required. number
Threshold used to calculate precision and recall.
accuracy This property is required. float
accuracy under the threshold
f1score This property is required. float
f1Score under the threshold
precision This property is required. float
Precision under the threshold
recall This property is required. float
Recall under the threshold
threshold This property is required. float
Threshold used to calculate precision and recall.
accuracy This property is required. Number
accuracy under the threshold
f1score This property is required. Number
f1Score under the threshold
precision This property is required. Number
Precision under the threshold
recall This property is required. Number
Recall under the threshold
threshold This property is required. Number
Threshold used to calculate precision and recall.

GetModelsModelCollectionItemTestingDataset

Bucket This property is required. string
The name of the Object Storage bucket that contains the input data file.
DatasetId This property is required. string
OCID of the Data Labeling dataset.
DatasetType This property is required. string
The dataset type, based on where it is stored.
Namespace This property is required. string
The namespace name of the Object Storage bucket that contains the input data file.
Object This property is required. string
The object name of the input data file.
Bucket This property is required. string
The name of the Object Storage bucket that contains the input data file.
DatasetId This property is required. string
OCID of the Data Labeling dataset.
DatasetType This property is required. string
The dataset type, based on where it is stored.
Namespace This property is required. string
The namespace name of the Object Storage bucket that contains the input data file.
Object This property is required. string
The object name of the input data file.
bucket This property is required. String
The name of the Object Storage bucket that contains the input data file.
datasetId This property is required. String
OCID of the Data Labeling dataset.
datasetType This property is required. String
The dataset type, based on where it is stored.
namespace This property is required. String
The namespace name of the Object Storage bucket that contains the input data file.
object This property is required. String
The object name of the input data file.
bucket This property is required. string
The name of the Object Storage bucket that contains the input data file.
datasetId This property is required. string
OCID of the Data Labeling dataset.
datasetType This property is required. string
The dataset type, based on where it is stored.
namespace This property is required. string
The namespace name of the Object Storage bucket that contains the input data file.
object This property is required. string
The object name of the input data file.
bucket This property is required. str
The name of the Object Storage bucket that contains the input data file.
dataset_id This property is required. str
OCID of the Data Labeling dataset.
dataset_type This property is required. str
The dataset type, based on where it is stored.
namespace This property is required. str
The namespace name of the Object Storage bucket that contains the input data file.
object This property is required. str
The object name of the input data file.
bucket This property is required. String
The name of the Object Storage bucket that contains the input data file.
datasetId This property is required. String
OCID of the Data Labeling dataset.
datasetType This property is required. String
The dataset type, based on where it is stored.
namespace This property is required. String
The namespace name of the Object Storage bucket that contains the input data file.
object This property is required. String
The object name of the input data file.

GetModelsModelCollectionItemTrainingDataset

Bucket This property is required. string
The name of the Object Storage bucket that contains the input data file.
DatasetId This property is required. string
OCID of the Data Labeling dataset.
DatasetType This property is required. string
The dataset type, based on where it is stored.
Namespace This property is required. string
The namespace name of the Object Storage bucket that contains the input data file.
Object This property is required. string
The object name of the input data file.
Bucket This property is required. string
The name of the Object Storage bucket that contains the input data file.
DatasetId This property is required. string
OCID of the Data Labeling dataset.
DatasetType This property is required. string
The dataset type, based on where it is stored.
Namespace This property is required. string
The namespace name of the Object Storage bucket that contains the input data file.
Object This property is required. string
The object name of the input data file.
bucket This property is required. String
The name of the Object Storage bucket that contains the input data file.
datasetId This property is required. String
OCID of the Data Labeling dataset.
datasetType This property is required. String
The dataset type, based on where it is stored.
namespace This property is required. String
The namespace name of the Object Storage bucket that contains the input data file.
object This property is required. String
The object name of the input data file.
bucket This property is required. string
The name of the Object Storage bucket that contains the input data file.
datasetId This property is required. string
OCID of the Data Labeling dataset.
datasetType This property is required. string
The dataset type, based on where it is stored.
namespace This property is required. string
The namespace name of the Object Storage bucket that contains the input data file.
object This property is required. string
The object name of the input data file.
bucket This property is required. str
The name of the Object Storage bucket that contains the input data file.
dataset_id This property is required. str
OCID of the Data Labeling dataset.
dataset_type This property is required. str
The dataset type, based on where it is stored.
namespace This property is required. str
The namespace name of the Object Storage bucket that contains the input data file.
object This property is required. str
The object name of the input data file.
bucket This property is required. String
The name of the Object Storage bucket that contains the input data file.
datasetId This property is required. String
OCID of the Data Labeling dataset.
datasetType This property is required. String
The dataset type, based on where it is stored.
namespace This property is required. String
The namespace name of the Object Storage bucket that contains the input data file.
object This property is required. String
The object name of the input data file.

GetModelsModelCollectionItemValidationDataset

Bucket This property is required. string
The name of the Object Storage bucket that contains the input data file.
DatasetId This property is required. string
OCID of the Data Labeling dataset.
DatasetType This property is required. string
The dataset type, based on where it is stored.
Namespace This property is required. string
The namespace name of the Object Storage bucket that contains the input data file.
Object This property is required. string
The object name of the input data file.
Bucket This property is required. string
The name of the Object Storage bucket that contains the input data file.
DatasetId This property is required. string
OCID of the Data Labeling dataset.
DatasetType This property is required. string
The dataset type, based on where it is stored.
Namespace This property is required. string
The namespace name of the Object Storage bucket that contains the input data file.
Object This property is required. string
The object name of the input data file.
bucket This property is required. String
The name of the Object Storage bucket that contains the input data file.
datasetId This property is required. String
OCID of the Data Labeling dataset.
datasetType This property is required. String
The dataset type, based on where it is stored.
namespace This property is required. String
The namespace name of the Object Storage bucket that contains the input data file.
object This property is required. String
The object name of the input data file.
bucket This property is required. string
The name of the Object Storage bucket that contains the input data file.
datasetId This property is required. string
OCID of the Data Labeling dataset.
datasetType This property is required. string
The dataset type, based on where it is stored.
namespace This property is required. string
The namespace name of the Object Storage bucket that contains the input data file.
object This property is required. string
The object name of the input data file.
bucket This property is required. str
The name of the Object Storage bucket that contains the input data file.
dataset_id This property is required. str
OCID of the Data Labeling dataset.
dataset_type This property is required. str
The dataset type, based on where it is stored.
namespace This property is required. str
The namespace name of the Object Storage bucket that contains the input data file.
object This property is required. str
The object name of the input data file.
bucket This property is required. String
The name of the Object Storage bucket that contains the input data file.
datasetId This property is required. String
OCID of the Data Labeling dataset.
datasetType This property is required. String
The dataset type, based on where it is stored.
namespace This property is required. String
The namespace name of the Object Storage bucket that contains the input data file.
object This property is required. String
The object name of the input data file.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi