/** * Language API * OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven, pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts. This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market. * OpenAPI spec version: 20221001 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * The information needed to train a new model */ export interface CreateModelDetails { /** * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. */ "displayName"?: string; /** * A short description of the a model. */ "description"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the models compartment. */ "compartmentId": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model. */ "projectId": string; "modelDetails": model.PreTrainedKeyPhraseExtractionModelDetails | model.PreTrainedTranslationModelDetails | model.PreTrainedHealthNluModelDetails | model.PreTrainedUniversalModel | model.PreTrainedLanguageDetectionModelDetails | model.PreTrainedSentimentAnalysisModelDetails | model.TextClassificationModelDetails | model.HealthNluModelDetails | model.PreTrainedSummarization | model.NamedEntityRecognitionModelDetails | model.PiiModelDetails | model.PreTrainedNamedEntityRecognitionModelDetails | model.PreTrainedTextClassificationModelDetails | model.PreTrainedPiiModelDetails; "trainingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset; "testStrategy"?: model.TestAndValidationDatasetStrategy; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} * */ "freeformTags"?: { [key: string]: string; }; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "definedTags"?: { [key: string]: { [key: string]: any; }; }; } export declare namespace CreateModelDetails { function getJsonObj(obj: CreateModelDetails): object; function getDeserializedJsonObj(obj: CreateModelDetails): object; }