AI Vision Common Types

DBMS_CLOUD_OCI_AI_VISION_VARCHAR2_TBL Type

Nested table type of varchar2(32767).

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_varchar2_tbl FORCE IS TABLE OF (varchar2(32767)) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_DOCUMENT_FEATURE_T Type

The type of document analysis.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_document_feature_t FORCE AUTHID CURRENT_USER IS OBJECT (
  feature_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_feature_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_feature_t (
    feature_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

feature_type

(required) The type of document analysis requested. The allowed values are: - `LANGUAGE_CLASSIFICATION`: Detect the language. - `TEXT_DETECTION`: Recognize text. - `TABLE_DETECTION`: Detect and extract data in tables. - `KEY_VALUE_DETECTION`: Extract form fields. - `DOCUMENT_CLASSIFICATION`: Identify the type of document.

Allowed values are: 'LANGUAGE_CLASSIFICATION', 'TEXT_DETECTION', 'TABLE_DETECTION', 'KEY_VALUE_DETECTION', 'DOCUMENT_CLASSIFICATION'

DBMS_CLOUD_OCI_AI_VISION_DOCUMENT_DETAILS_T Type

The details of a document to analyze.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_document_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  source varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_details_t (
    source varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

source

(required) The location of the document data. The allowed values are: - `INLINE`: The data is included directly in the request payload. - `OBJECT_STORAGE`: The document is in OCI Object Storage.

Allowed values are: 'INLINE', 'OBJECT_STORAGE'

DBMS_CLOUD_OCI_AI_VISION_OUTPUT_LOCATION_T Type

The Object Storage Location.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_output_location_t FORCE AUTHID CURRENT_USER IS OBJECT (
  namespace_name varchar2(32767),
  bucket_name varchar2(32767),
  prefix varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_output_location_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_output_location_t (
    namespace_name varchar2,
    bucket_name varchar2,
    prefix varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

namespace_name

(required) The Object Storage namespace.

bucket_name

(required) The Object Storage bucket name.

prefix

(required) The Object Storage folder name.

DBMS_CLOUD_OCI_AI_VISION_DOCUMENT_FEATURE_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_document_feature_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_document_feature_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_document_feature_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_ANALYZE_DOCUMENT_DETAILS_T Type

The details of how to analyze a document.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_analyze_document_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  features dbms_cloud_oci_ai_vision_document_feature_tbl,
  document dbms_cloud_oci_ai_vision_document_details_t,
  compartment_id varchar2(32767),
  output_location dbms_cloud_oci_ai_vision_output_location_t,
  language varchar2(32767),
  document_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_analyze_document_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_analyze_document_details_t (
    features dbms_cloud_oci_ai_vision_document_feature_tbl,
    document dbms_cloud_oci_ai_vision_document_details_t,
    compartment_id varchar2,
    output_location dbms_cloud_oci_ai_vision_output_location_t,
    language varchar2,
    document_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

features

(required) The types of document analysis requested.

document

(required)

compartment_id

(optional) The OCID of the compartment that calls the API.

output_location

(optional)

language

(optional) The document language, abbreviated according to ISO 639-2.

Allowed values are: 'ENG', 'CES', 'DAN', 'NLD', 'FIN', 'FRA', 'DEU', 'ELL', 'HUN', 'ITA', 'NOR', 'POL', 'POR', 'RON', 'RUS', 'SLK', 'SPA', 'SWE', 'TUR', 'ARA', 'CHI_SIM', 'HIN', 'JPN', 'KOR', 'OTHERS'

document_type

(optional) The document type.

Allowed values are: 'INVOICE', 'RECEIPT', 'RESUME', 'TAX_FORM', 'DRIVER_LICENSE', 'PASSPORT', 'BANK_STATEMENT', 'CHECK', 'PAYSLIP', 'OTHERS'

DBMS_CLOUD_OCI_AI_VISION_DOCUMENT_METADATA_T Type

The document information.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_document_metadata_t FORCE AUTHID CURRENT_USER IS OBJECT (
  page_count number,
  mime_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_metadata_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_metadata_t (
    page_count number,
    mime_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

page_count

(required) Teh number of pages in the document.

mime_type

(required) The result data format.

DBMS_CLOUD_OCI_AI_VISION_DIMENSIONS_T Type

The width and height of a page.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_dimensions_t FORCE AUTHID CURRENT_USER IS OBJECT (
  width number,
  height number,
  unit varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_dimensions_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_dimensions_t (
    width number,
    height number,
    unit varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

width

(required) the width of a page.

height

(required) The height of a page.

unit

(required) The unit of length.

Allowed values are: 'PIXEL', 'INCH'

DBMS_CLOUD_OCI_AI_VISION_DETECTED_DOCUMENT_TYPE_T Type

The detected document type.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_detected_document_type_t FORCE AUTHID CURRENT_USER IS OBJECT (
  document_type varchar2(32767),
  confidence number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_detected_document_type_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_detected_document_type_t (
    document_type varchar2,
    confidence number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

document_type

(required) The document type.

confidence

(required) The confidence score between 0 and 1.

DBMS_CLOUD_OCI_AI_VISION_DETECTED_LANGUAGE_T Type

The language detected in a document.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_detected_language_t FORCE AUTHID CURRENT_USER IS OBJECT (
  language_code varchar2(32767),
  confidence number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_detected_language_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_detected_language_t (
    language_code varchar2,
    confidence number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

language_code

(required) The language of the document, abbreviated according to ISO 639-2.

Allowed values are: 'ENG', 'CES', 'DAN', 'NLD', 'FIN', 'FRA', 'DEU', 'ELL', 'HUN', 'ITA', 'NOR', 'POL', 'POR', 'RON', 'RUS', 'SLK', 'SPA', 'SWE', 'TUR', 'ARA', 'CHI_SIM', 'HIN', 'JPN', 'KOR', 'OTHERS'

confidence

(required) The confidence score between 0 and 1.

DBMS_CLOUD_OCI_AI_VISION_NORMALIZED_VERTEX_T Type

An (x, y) coordinate in the image with dimensions normalized from zero to one. The origin is at top left, with the positive x-axis pointing right and the positive y-axis pointing down. The bottom right corner is at (1, 1).

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_normalized_vertex_t FORCE AUTHID CURRENT_USER IS OBJECT (
  x number,
  y number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_normalized_vertex_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_normalized_vertex_t (
    x number,
    y number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

x

(required) The X-axis normalized coordinate.

y

(required) The Y-axis normalized coordinate.

DBMS_CLOUD_OCI_AI_VISION_NORMALIZED_VERTEX_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_normalized_vertex_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_normalized_vertex_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_normalized_vertex_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_BOUNDING_POLYGON_T Type

The object-bounding polygon box.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_bounding_polygon_t FORCE AUTHID CURRENT_USER IS OBJECT (
  normalized_vertices dbms_cloud_oci_ai_vision_normalized_vertex_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_bounding_polygon_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_bounding_polygon_t (
    normalized_vertices dbms_cloud_oci_ai_vision_normalized_vertex_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

normalized_vertices

(required) An array of normalized points defining the polygon's perimeter, with an implicit segment between subsequent points and between the first and last point. Rectangles are defined with four points. For example, `[{\"x\": 0, \"y\": 0}, {\"x\": 1, \"y\": 0}, {\"x\": 1, \"y\": 0.5}, {\"x\": 0, \"y\": 0.5}]` represents the top half of an image.

DBMS_CLOUD_OCI_AI_VISION_WORD_T Type

A single word.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_word_t FORCE AUTHID CURRENT_USER IS OBJECT (
  text varchar2(32767),
  confidence number,
  bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_word_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_word_t (
    text varchar2,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

text

(required) The string of text characters in the word.

confidence

(required) the confidence score between 0 and 1.

bounding_polygon

(required)

DBMS_CLOUD_OCI_AI_VISION_NUMBER_TBL Type

Nested table type of number.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_number_tbl FORCE IS TABLE OF (number) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_LINE_T Type

The line of text.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_line_t FORCE AUTHID CURRENT_USER IS OBJECT (
  text varchar2(32767),
  confidence number,
  bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
  word_indexes dbms_cloud_oci_ai_vision_number_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_line_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_line_t (
    text varchar2,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
    word_indexes dbms_cloud_oci_ai_vision_number_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

text

(required) The text recognized.

confidence

(required) The confidence score between 0 and 1.

bounding_polygon

(required)

word_indexes

(required) The array of words.

DBMS_CLOUD_OCI_AI_VISION_CELL_T Type

A single cell in a table.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_cell_t FORCE AUTHID CURRENT_USER IS OBJECT (
  text varchar2(32767),
  row_index number,
  column_index number,
  confidence number,
  bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
  word_indexes dbms_cloud_oci_ai_vision_number_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_cell_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_cell_t (
    text varchar2,
    row_index number,
    column_index number,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
    word_indexes dbms_cloud_oci_ai_vision_number_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

text

(required) The text recognized in the cell.

row_index

(required) The index of the cell inside the row.

column_index

(required) The index of the cell inside the column.

confidence

(required) The confidence score between 0 and 1.

bounding_polygon

(required)

word_indexes

(required) The words detected in the cell.

DBMS_CLOUD_OCI_AI_VISION_CELL_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_cell_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_cell_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_cell_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_TABLE_ROW_T Type

A single row in a table.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_table_row_t FORCE AUTHID CURRENT_USER IS OBJECT (
  cells dbms_cloud_oci_ai_vision_cell_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_table_row_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_table_row_t (
    cells dbms_cloud_oci_ai_vision_cell_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

cells

(required) The cells in the row.

DBMS_CLOUD_OCI_AI_VISION_TABLE_ROW_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_table_row_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_table_row_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_table_row_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_TABLE_T Type

The table extracted from a document.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_table_t FORCE AUTHID CURRENT_USER IS OBJECT (
  row_count number,
  column_count number,
  header_rows dbms_cloud_oci_ai_vision_table_row_tbl,
  body_rows dbms_cloud_oci_ai_vision_table_row_tbl,
  footer_rows dbms_cloud_oci_ai_vision_table_row_tbl,
  confidence number,
  bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_table_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_table_t (
    row_count number,
    column_count number,
    header_rows dbms_cloud_oci_ai_vision_table_row_tbl,
    body_rows dbms_cloud_oci_ai_vision_table_row_tbl,
    footer_rows dbms_cloud_oci_ai_vision_table_row_tbl,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

row_count

(required) The number of rows.

column_count

(required) The number of columns.

header_rows

(required) The header rows.

body_rows

(required) The body rows.

footer_rows

(required) the footer rows.

confidence

(required) The confidence score between 0 and 1.

bounding_polygon

(required)

DBMS_CLOUD_OCI_AI_VISION_FIELD_LABEL_T Type

The label in a field.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_field_label_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  confidence number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_field_label_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_field_label_t (
    name varchar2,
    confidence number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The name of the field label.

confidence

(optional) The confidence score between 0 and 1.

DBMS_CLOUD_OCI_AI_VISION_FIELD_NAME_T Type

The name of a form field.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_field_name_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  confidence number,
  bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
  word_indexes dbms_cloud_oci_ai_vision_number_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_field_name_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_field_name_t (
    name varchar2,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
    word_indexes dbms_cloud_oci_ai_vision_number_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The name of the field.

confidence

(optional) The confidence score between 0 and 1.

bounding_polygon

(optional)

word_indexes

(optional) The indexes of the words in the field name.

DBMS_CLOUD_OCI_AI_VISION_FIELD_VALUE_T Type

The value of a form field.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_field_value_t FORCE AUTHID CURRENT_USER IS OBJECT (
  value_type varchar2(32767),
  text varchar2(32767),
  confidence number,
  bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
  word_indexes dbms_cloud_oci_ai_vision_number_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_field_value_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_field_value_t (
    value_type varchar2,
    text varchar2,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
    word_indexes dbms_cloud_oci_ai_vision_number_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

value_type

(required) The type of data detected.

Allowed values are: 'STRING', 'DATE', 'TIME', 'PHONE_NUMBER', 'NUMBER', 'INTEGER', 'ARRAY'

text

(optional) The detected text of a field.

confidence

(required) The confidence score between 0 and 1.

bounding_polygon

(required)

word_indexes

(required) The indexes of the words in the field value.

DBMS_CLOUD_OCI_AI_VISION_DOCUMENT_FIELD_T Type

Form field.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_document_field_t FORCE AUTHID CURRENT_USER IS OBJECT (
  field_type varchar2(32767),
  field_label dbms_cloud_oci_ai_vision_field_label_t,
  field_name dbms_cloud_oci_ai_vision_field_name_t,
  field_value dbms_cloud_oci_ai_vision_field_value_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_field_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_field_t (
    field_type varchar2,
    field_label dbms_cloud_oci_ai_vision_field_label_t,
    field_name dbms_cloud_oci_ai_vision_field_name_t,
    field_value dbms_cloud_oci_ai_vision_field_value_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

field_type

(required) The field type.

Allowed values are: 'LINE_ITEM_GROUP', 'LINE_ITEM', 'LINE_ITEM_FIELD', 'KEY_VALUE'

field_label

(optional)

field_name

(optional)

field_value

(required)

DBMS_CLOUD_OCI_AI_VISION_DETECTED_DOCUMENT_TYPE_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_detected_document_type_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_detected_document_type_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_detected_document_type_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_DETECTED_LANGUAGE_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_detected_language_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_detected_language_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_detected_language_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_WORD_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_word_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_word_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_word_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_LINE_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_line_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_line_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_line_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_TABLE_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_table_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_table_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_table_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_DOCUMENT_FIELD_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_document_field_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_document_field_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_document_field_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_PAGE_T Type

One page document analysis result.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_page_t FORCE AUTHID CURRENT_USER IS OBJECT (
  page_number number,
  dimensions dbms_cloud_oci_ai_vision_dimensions_t,
  detected_document_types dbms_cloud_oci_ai_vision_detected_document_type_tbl,
  detected_languages dbms_cloud_oci_ai_vision_detected_language_tbl,
  words dbms_cloud_oci_ai_vision_word_tbl,
  lines dbms_cloud_oci_ai_vision_line_tbl,
  tables dbms_cloud_oci_ai_vision_table_tbl,
  document_fields dbms_cloud_oci_ai_vision_document_field_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_page_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_page_t (
    page_number number,
    dimensions dbms_cloud_oci_ai_vision_dimensions_t,
    detected_document_types dbms_cloud_oci_ai_vision_detected_document_type_tbl,
    detected_languages dbms_cloud_oci_ai_vision_detected_language_tbl,
    words dbms_cloud_oci_ai_vision_word_tbl,
    lines dbms_cloud_oci_ai_vision_line_tbl,
    tables dbms_cloud_oci_ai_vision_table_tbl,
    document_fields dbms_cloud_oci_ai_vision_document_field_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

page_number

(required) The document page number.

dimensions

(optional)

detected_document_types

(optional) An array of detected document types.

detected_languages

(optional) An array of detected languages.

words

(optional) The words detected on the page.

lines

(optional) The lines of text detected on the page.

tables

(optional) The tables detected on the page.

document_fields

(optional) The form fields detected on the page.

DBMS_CLOUD_OCI_AI_VISION_PROCESSING_ERROR_T Type

The error in document processing.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_processing_error_t FORCE AUTHID CURRENT_USER IS OBJECT (
  code varchar2(32767),
  message varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_processing_error_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_processing_error_t (
    code varchar2,
    message varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

code

(required) The error code.

message

(required) The error message.

DBMS_CLOUD_OCI_AI_VISION_PAGE_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_page_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_page_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_page_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_PROCESSING_ERROR_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_processing_error_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_processing_error_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_processing_error_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_ANALYZE_DOCUMENT_RESULT_T Type

The document analysis results.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_analyze_document_result_t FORCE AUTHID CURRENT_USER IS OBJECT (
  document_metadata dbms_cloud_oci_ai_vision_document_metadata_t,
  pages dbms_cloud_oci_ai_vision_page_tbl,
  detected_document_types dbms_cloud_oci_ai_vision_detected_document_type_tbl,
  detected_languages dbms_cloud_oci_ai_vision_detected_language_tbl,
  document_classification_model_version varchar2(32767),
  language_classification_model_version varchar2(32767),
  text_detection_model_version varchar2(32767),
  key_value_detection_model_version varchar2(32767),
  table_detection_model_version varchar2(32767),
  errors dbms_cloud_oci_ai_vision_processing_error_tbl,
  searchable_pdf clob,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_analyze_document_result_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_analyze_document_result_t (
    document_metadata dbms_cloud_oci_ai_vision_document_metadata_t,
    pages dbms_cloud_oci_ai_vision_page_tbl,
    detected_document_types dbms_cloud_oci_ai_vision_detected_document_type_tbl,
    detected_languages dbms_cloud_oci_ai_vision_detected_language_tbl,
    document_classification_model_version varchar2,
    language_classification_model_version varchar2,
    text_detection_model_version varchar2,
    key_value_detection_model_version varchar2,
    table_detection_model_version varchar2,
    errors dbms_cloud_oci_ai_vision_processing_error_tbl,
    searchable_pdf clob
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

document_metadata

(required)

pages

(required) The array of a Page.

detected_document_types

(optional) An array of detected document types.

detected_languages

(optional) An array of detected languages.

document_classification_model_version

(optional) The document classification model version.

language_classification_model_version

(optional) The document language classification model version.

text_detection_model_version

(optional) The document text detection model version.

key_value_detection_model_version

(optional) The document keyValue detection model version.

table_detection_model_version

(optional) The document table detection model version.

errors

(optional) The errors encountered during document analysis.

searchable_pdf

(optional) The searchable PDF file that was generated.

DBMS_CLOUD_OCI_AI_VISION_IMAGE_FEATURE_T Type

The type of image analysis.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_image_feature_t FORCE AUTHID CURRENT_USER IS OBJECT (
  feature_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_feature_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_feature_t (
    feature_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

feature_type

(required) The type of image analysis requested. The allowed values are: - `IMAGE_CLASSIFICATION`: Label the image. - `OBJECT_DETECTION`: Identify objects in the image with bounding boxes. - `TEXT_DETECTION`: Recognize text at the word and line level. - `FACE_DETECTION`: Identify faces in the image with bounding boxes and face landmarks.

Allowed values are: 'IMAGE_CLASSIFICATION', 'OBJECT_DETECTION', 'TEXT_DETECTION', 'FACE_DETECTION'

DBMS_CLOUD_OCI_AI_VISION_IMAGE_DETAILS_T Type

The details of an image to analyze.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_image_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  source varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_details_t (
    source varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

source

(required) The location of the image data. The allowed values are: - `INLINE`: The data is included directly in the request payload. - `OBJECT_STORAGE`: The image is in OCI Object Storage.

Allowed values are: 'INLINE', 'OBJECT_STORAGE'

DBMS_CLOUD_OCI_AI_VISION_IMAGE_FEATURE_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_image_feature_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_image_feature_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_image_feature_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_ANALYZE_IMAGE_DETAILS_T Type

The details of how to analyze an image.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_analyze_image_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  features dbms_cloud_oci_ai_vision_image_feature_tbl,
  image dbms_cloud_oci_ai_vision_image_details_t,
  compartment_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_analyze_image_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_analyze_image_details_t (
    features dbms_cloud_oci_ai_vision_image_feature_tbl,
    image dbms_cloud_oci_ai_vision_image_details_t,
    compartment_id varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

features

(required) The types of image analysis.

image

(required)

compartment_id

(optional) The OCID of the compartment that calls the API.

DBMS_CLOUD_OCI_AI_VISION_IMAGE_OBJECT_T Type

The object detected in an image.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_image_object_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  confidence number,
  bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_object_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_object_t (
    name varchar2,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The object category name. Every value returned by the pre-deployed model is in English.

confidence

(required) The confidence score, between 0 and 1.

bounding_polygon

(required)

DBMS_CLOUD_OCI_AI_VISION_LABEL_T Type

A label describing an image. Every label returned by the pre-deployed model is in English.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_label_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  confidence number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_label_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_label_t (
    name varchar2,
    confidence number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The classification catagory label name.

confidence

(required) The confidence score between 0 and 1.

DBMS_CLOUD_OCI_AI_VISION_ONTOLOGY_CLASS_T Type

Images and ImageObjects can be labeled with an OntologyClass.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_ontology_class_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  parent_names dbms_cloud_oci_ai_vision_varchar2_tbl,
  synonym_names dbms_cloud_oci_ai_vision_varchar2_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_ontology_class_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_ontology_class_t (
    name varchar2,
    parent_names dbms_cloud_oci_ai_vision_varchar2_tbl,
    synonym_names dbms_cloud_oci_ai_vision_varchar2_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(required) The label name.

parent_names

(optional) The label parents.

synonym_names

(optional) The label synonyms.

DBMS_CLOUD_OCI_AI_VISION_IMAGE_TEXT_T Type

The detected text.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_image_text_t FORCE AUTHID CURRENT_USER IS OBJECT (
  words dbms_cloud_oci_ai_vision_word_tbl,
  lines dbms_cloud_oci_ai_vision_line_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_text_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_text_t (
    words dbms_cloud_oci_ai_vision_word_tbl,
    lines dbms_cloud_oci_ai_vision_line_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

words

(required) The words recognized in an image.

lines

(required) The lines of text recognized in an image.

DBMS_CLOUD_OCI_AI_VISION_LANDMARK_T Type

The landmark on the face.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_landmark_t FORCE AUTHID CURRENT_USER IS OBJECT (
  l_type varchar2(32767),
  x number,
  y number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_landmark_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_landmark_t (
    l_type varchar2,
    x number,
    y number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

l_type

(required) The face landmark type

Allowed values are: 'LEFT_EYE', 'RIGHT_EYE', 'NOSE_TIP', 'LEFT_EDGE_OF_MOUTH', 'RIGHT_EDGE_OF_MOUTH'

x

(required) The X-axis normalized coordinate.

y

(required) The Y-axis normalized coordinate.

DBMS_CLOUD_OCI_AI_VISION_LANDMARK_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_landmark_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_landmark_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_landmark_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_FACE_T Type

The detected face.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_face_t FORCE AUTHID CURRENT_USER IS OBJECT (
  confidence number,
  bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
  quality_score number,
  landmarks dbms_cloud_oci_ai_vision_landmark_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_face_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_face_t (
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
    quality_score number,
    landmarks dbms_cloud_oci_ai_vision_landmark_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

confidence

(required) The confidence score, between 0 and 1.

bounding_polygon

(required)

quality_score

(required) The quality score of the face detected, between 0 and 1.

landmarks

(optional) A point of interest within a face.

DBMS_CLOUD_OCI_AI_VISION_IMAGE_OBJECT_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_image_object_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_image_object_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_image_object_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_LABEL_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_label_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_label_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_label_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_ONTOLOGY_CLASS_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_ontology_class_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_ontology_class_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_ontology_class_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_FACE_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_face_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_face_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_face_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_ANALYZE_IMAGE_RESULT_T Type

The image analysis results.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_analyze_image_result_t FORCE AUTHID CURRENT_USER IS OBJECT (
  image_objects dbms_cloud_oci_ai_vision_image_object_tbl,
  labels dbms_cloud_oci_ai_vision_label_tbl,
  ontology_classes dbms_cloud_oci_ai_vision_ontology_class_tbl,
  image_text dbms_cloud_oci_ai_vision_image_text_t,
  detected_faces dbms_cloud_oci_ai_vision_face_tbl,
  image_classification_model_version varchar2(32767),
  object_detection_model_version varchar2(32767),
  text_detection_model_version varchar2(32767),
  face_detection_model_version varchar2(32767),
  errors dbms_cloud_oci_ai_vision_processing_error_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_analyze_image_result_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_analyze_image_result_t (
    image_objects dbms_cloud_oci_ai_vision_image_object_tbl,
    labels dbms_cloud_oci_ai_vision_label_tbl,
    ontology_classes dbms_cloud_oci_ai_vision_ontology_class_tbl,
    image_text dbms_cloud_oci_ai_vision_image_text_t,
    detected_faces dbms_cloud_oci_ai_vision_face_tbl,
    image_classification_model_version varchar2,
    object_detection_model_version varchar2,
    text_detection_model_version varchar2,
    face_detection_model_version varchar2,
    errors dbms_cloud_oci_ai_vision_processing_error_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

image_objects

(optional) The detected objects.

labels

(optional) The image classification labels.

ontology_classes

(optional) The ontologyClasses of image labels.

image_text

(optional)

detected_faces

(optional) The detected faces.

image_classification_model_version

(optional) The image classification model version.

object_detection_model_version

(optional) The object detection model version.

text_detection_model_version

(optional) The text detection model version.

face_detection_model_version

(optional) The face detection model version.

errors

(optional) The errors encountered during image analysis.

DBMS_CLOUD_OCI_AI_VISION_CHANGE_MODEL_COMPARTMENT_DETAILS_T Type

The compartment the model should be moved to.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_change_model_compartment_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  compartment_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_change_model_compartment_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_change_model_compartment_details_t (
    compartment_id varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

compartment_id

(required) The OCID of the compartment into which the model should be moved.

DBMS_CLOUD_OCI_AI_VISION_CHANGE_PROJECT_COMPARTMENT_DETAILS_T Type

Which compartment the project should be moved to.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_change_project_compartment_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  compartment_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_change_project_compartment_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_change_project_compartment_details_t (
    compartment_id varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

compartment_id

(required) The OCID of the compartment into which the project should be moved.

DBMS_CLOUD_OCI_AI_VISION_INPUT_LOCATION_T Type

The location of the inputs.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_input_location_t FORCE AUTHID CURRENT_USER IS OBJECT (
  source_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_input_location_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_input_location_t (
    source_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

source_type

(required) The type of input location. The allowed values are: - `OBJECT_LIST_INLINE_INPUT_LOCATION`: A list of object locations in Object Storage.

Allowed values are: 'OBJECT_LIST_INLINE_INPUT_LOCATION'

DBMS_CLOUD_OCI_AI_VISION_CREATE_DOCUMENT_JOB_DETAILS_T Type

The batch document analysis details.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_create_document_job_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  input_location dbms_cloud_oci_ai_vision_input_location_t,
  features dbms_cloud_oci_ai_vision_document_feature_tbl,
  output_location dbms_cloud_oci_ai_vision_output_location_t,
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  language varchar2(32767),
  document_type varchar2(32767),
  is_zip_output_enabled number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_create_document_job_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_create_document_job_details_t (
    input_location dbms_cloud_oci_ai_vision_input_location_t,
    features dbms_cloud_oci_ai_vision_document_feature_tbl,
    output_location dbms_cloud_oci_ai_vision_output_location_t,
    compartment_id varchar2,
    display_name varchar2,
    language varchar2,
    document_type varchar2,
    is_zip_output_enabled number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

input_location

(required)

features

(required) The list of requested document analysis types.

output_location

(required)

compartment_id

(optional) The compartment identifier from the requester.

display_name

(optional) The document job display name.

language

(optional) The language of the document, abbreviated according to ISO 639-2.

Allowed values are: 'ENG', 'CES', 'DAN', 'NLD', 'FIN', 'FRA', 'DEU', 'ELL', 'HUN', 'ITA', 'NOR', 'POL', 'POR', 'RON', 'RUS', 'SLK', 'SPA', 'SWE', 'TUR', 'ARA', 'CHI_SIM', 'HIN', 'JPN', 'KOR', 'OTHERS'

document_type

(optional) The type of documents.

Allowed values are: 'INVOICE', 'RECEIPT', 'RESUME', 'TAX_FORM', 'DRIVER_LICENSE', 'PASSPORT', 'BANK_STATEMENT', 'CHECK', 'PAYSLIP', 'OTHERS'

is_zip_output_enabled

(optional) Whether or not to generate a ZIP file containing the results.

DBMS_CLOUD_OCI_AI_VISION_CREATE_IMAGE_JOB_DETAILS_T Type

The details of the batch image analysis.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_create_image_job_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  input_location dbms_cloud_oci_ai_vision_input_location_t,
  features dbms_cloud_oci_ai_vision_image_feature_tbl,
  output_location dbms_cloud_oci_ai_vision_output_location_t,
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  is_zip_output_enabled number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_create_image_job_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_create_image_job_details_t (
    input_location dbms_cloud_oci_ai_vision_input_location_t,
    features dbms_cloud_oci_ai_vision_image_feature_tbl,
    output_location dbms_cloud_oci_ai_vision_output_location_t,
    compartment_id varchar2,
    display_name varchar2,
    is_zip_output_enabled number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

input_location

(required)

features

(required) The list of requested image analysis types.

output_location

(required)

compartment_id

(optional) The compartment identifier from the requester.

display_name

(optional) The image job display name.

is_zip_output_enabled

(optional) Whether or not to generate a ZIP file containing the results.

DBMS_CLOUD_OCI_AI_VISION_DATASET_T Type

The base entity which is the input for creating and training a model.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_dataset_t FORCE AUTHID CURRENT_USER IS OBJECT (
  dataset_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_dataset_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_dataset_t (
    dataset_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

dataset_type

(required) The dataset type, based on where it is stored.

Allowed values are: 'DATA_SCIENCE_LABELING', 'OBJECT_STORAGE'

DBMS_CLOUD_OCI_AI_VISION_CREATE_MODEL_DETAILS_T Type

The information needed to create a new model.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_create_model_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  description varchar2(32767),
  model_version varchar2(32767),
  model_type varchar2(32767),
  compartment_id varchar2(32767),
  is_quick_mode number,
  max_training_duration_in_hours number,
  training_dataset dbms_cloud_oci_ai_vision_dataset_t,
  testing_dataset dbms_cloud_oci_ai_vision_dataset_t,
  validation_dataset dbms_cloud_oci_ai_vision_dataset_t,
  project_id varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_create_model_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_create_model_details_t (
    display_name varchar2,
    description varchar2,
    model_version varchar2,
    model_type varchar2,
    compartment_id varchar2,
    is_quick_mode number,
    max_training_duration_in_hours number,
    training_dataset dbms_cloud_oci_ai_vision_dataset_t,
    testing_dataset dbms_cloud_oci_ai_vision_dataset_t,
    validation_dataset dbms_cloud_oci_ai_vision_dataset_t,
    project_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(optional) A human-friendly name for the model, which can be changed.

description

(optional) An optional description of the model.

model_version

(optional) The model version

model_type

(required) Which type of Vision model this is.

compartment_id

(required) The compartment identifier.

is_quick_mode

(optional) Set to true when experimenting with a new model type or dataset, so the model training is quick, with a predefined low number of passes through the training data.

max_training_duration_in_hours

(optional) The maximum model training duration in hours, expressed as a decimal fraction.

training_dataset

(required)

testing_dataset

(optional)

validation_dataset

(optional)

project_id

(required) The OCID of the project that contains the model.

freeform_tags

(optional) 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\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`

DBMS_CLOUD_OCI_AI_VISION_CREATE_PROJECT_DETAILS_T Type

The information needed to create a new project.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_create_project_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  description varchar2(32767),
  compartment_id varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_create_project_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_create_project_details_t (
    display_name varchar2,
    description varchar2,
    compartment_id varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(optional) A human-friendly name for the project, that can be changed.

description

(optional) An optional description of the project.

compartment_id

(required) The compartment identifier.

freeform_tags

(optional) 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\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`

DBMS_CLOUD_OCI_AI_VISION_DATA_SCIENCE_LABELING_DATASET_T Type

The dataset created by the Data Labeling Service.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_data_science_labeling_dataset_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_dataset_t (
  dataset_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_data_science_labeling_dataset_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_data_science_labeling_dataset_t (
    dataset_type varchar2,
    dataset_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_data_science_labeling_dataset_t is a subtype of the dbms_cloud_oci_ai_vision_dataset_t type.

Fields

Field Description

dataset_id

(required) OCID of the Data Labeling dataset.

DBMS_CLOUD_OCI_AI_VISION_DOCUMENT_CLASSIFICATION_FEATURE_T Type

Identifying the document type.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_document_classification_feature_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_document_feature_t (
  max_results number,
  model_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_classification_feature_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_classification_feature_t (
    feature_type varchar2,
    max_results number,
    model_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_document_classification_feature_t is a subtype of the dbms_cloud_oci_ai_vision_document_feature_t type.

Fields

Field Description

max_results

(optional) The maximum number of results to return.

model_id

(optional) The custom model ID.

DBMS_CLOUD_OCI_AI_VISION_DOCUMENT_JOB_T Type

The job details for a batch document analysis.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_document_job_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  features dbms_cloud_oci_ai_vision_document_feature_tbl,
  language varchar2(32767),
  document_type varchar2(32767),
  input_location dbms_cloud_oci_ai_vision_input_location_t,
  time_accepted timestamp with time zone,
  time_started timestamp with time zone,
  time_finished timestamp with time zone,
  percent_complete number,
  output_location dbms_cloud_oci_ai_vision_output_location_t,
  lifecycle_state varchar2(32767),
  is_zip_output_enabled number,
  lifecycle_details varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_job_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_job_t (
    id varchar2,
    compartment_id varchar2,
    display_name varchar2,
    features dbms_cloud_oci_ai_vision_document_feature_tbl,
    language varchar2,
    document_type varchar2,
    input_location dbms_cloud_oci_ai_vision_input_location_t,
    time_accepted timestamp with time zone,
    time_started timestamp with time zone,
    time_finished timestamp with time zone,
    percent_complete number,
    output_location dbms_cloud_oci_ai_vision_output_location_t,
    lifecycle_state varchar2,
    is_zip_output_enabled number,
    lifecycle_details varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The job id.

compartment_id

(required) The OCID of the compartment that starts the job.

display_name

(optional) The document job display name.

features

(required) The list of requested document analysis types.

language

(optional) The document language, abbreviated according to ISO 639-2.

Allowed values are: 'ENG', 'CES', 'DAN', 'NLD', 'FIN', 'FRA', 'DEU', 'ELL', 'HUN', 'ITA', 'NOR', 'POL', 'POR', 'RON', 'RUS', 'SLK', 'SPA', 'SWE', 'TUR', 'ARA', 'CHI_SIM', 'HIN', 'JPN', 'KOR', 'OTHERS'

document_type

(optional) The type of document.

Allowed values are: 'INVOICE', 'RECEIPT', 'RESUME', 'TAX_FORM', 'DRIVER_LICENSE', 'PASSPORT', 'BANK_STATEMENT', 'CHECK', 'PAYSLIP', 'OTHERS'

input_location

(optional)

time_accepted

(required) The job acceptance time.

time_started

(optional) The job start time.

time_finished

(optional) The job finish time.

percent_complete

(optional) How much progress the operation has made, compared to the total amount of work to be performed.

output_location

(required)

lifecycle_state

(required) The current state of the batch document job.

Allowed values are: 'SUCCEEDED', 'FAILED', 'ACCEPTED', 'CANCELED', 'IN_PROGRESS', 'CANCELING'

is_zip_output_enabled

(optional) Whether or not to generate a ZIP file containing the results.

lifecycle_details

(optional) The detailed status of FAILED state.

Allowed values are: 'PARTIALLY_SUCCEEDED', 'COMPLETELY_FAILED'

DBMS_CLOUD_OCI_AI_VISION_DOCUMENT_KEY_VALUE_DETECTION_FEATURE_T Type

Extracting form fields.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_document_key_value_detection_feature_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_document_feature_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_key_value_detection_feature_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_key_value_detection_feature_t (
    feature_type varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_document_key_value_detection_feature_t is a subtype of the dbms_cloud_oci_ai_vision_document_feature_t type.

DBMS_CLOUD_OCI_AI_VISION_DOCUMENT_LANGUAGE_CLASSIFICATION_FEATURE_T Type

Detecting the language of the document.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_document_language_classification_feature_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_document_feature_t (
  max_results number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_language_classification_feature_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_language_classification_feature_t (
    feature_type varchar2,
    max_results number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_document_language_classification_feature_t is a subtype of the dbms_cloud_oci_ai_vision_document_feature_t type.

Fields

Field Description

max_results

(optional) The maximum number of results to return.

DBMS_CLOUD_OCI_AI_VISION_DOCUMENT_TABLE_DETECTION_FEATURE_T Type

Detecting and extracting data in tables.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_document_table_detection_feature_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_document_feature_t (
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_table_detection_feature_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_table_detection_feature_t (
    feature_type varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_document_table_detection_feature_t is a subtype of the dbms_cloud_oci_ai_vision_document_feature_t type.

DBMS_CLOUD_OCI_AI_VISION_DOCUMENT_TEXT_DETECTION_FEATURE_T Type

Text recognition

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_document_text_detection_feature_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_document_feature_t (
  generate_searchable_pdf number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_text_detection_feature_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_document_text_detection_feature_t (
    feature_type varchar2,
    generate_searchable_pdf number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_document_text_detection_feature_t is a subtype of the dbms_cloud_oci_ai_vision_document_feature_t type.

Fields

Field Description

generate_searchable_pdf

(optional) Whether or not to generate a searchable PDF file.

DBMS_CLOUD_OCI_AI_VISION_ERROR_T Type

Error Information.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_error_t FORCE AUTHID CURRENT_USER IS OBJECT (
  code varchar2(32767),
  message varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_error_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_error_t (
    code varchar2,
    message varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

code

(required) A short error code for programmatic parsing.

message

(required) A human-readable error message.

DBMS_CLOUD_OCI_AI_VISION_FACE_DETECTION_FEATURE_T Type

The face detection parameters.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_face_detection_feature_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_image_feature_t (
  max_results number,
  should_return_landmarks number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_face_detection_feature_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_face_detection_feature_t (
    feature_type varchar2,
    max_results number,
    should_return_landmarks number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_face_detection_feature_t is a subtype of the dbms_cloud_oci_ai_vision_image_feature_t type.

Fields

Field Description

max_results

(optional) The maximum number of results to return.

should_return_landmarks

(optional) Whether or not return face landmarks.

DBMS_CLOUD_OCI_AI_VISION_IMAGE_CLASSIFICATION_FEATURE_T Type

The image classification parameters.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_image_classification_feature_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_image_feature_t (
  max_results number,
  model_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_classification_feature_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_classification_feature_t (
    feature_type varchar2,
    max_results number,
    model_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_image_classification_feature_t is a subtype of the dbms_cloud_oci_ai_vision_image_feature_t type.

Fields

Field Description

max_results

(optional) The maximum number of results to return.

model_id

(optional) The custom model ID.

DBMS_CLOUD_OCI_AI_VISION_IMAGE_JOB_T Type

The job details for a batch image analysis.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_image_job_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  features dbms_cloud_oci_ai_vision_image_feature_tbl,
  input_location dbms_cloud_oci_ai_vision_input_location_t,
  time_accepted timestamp with time zone,
  time_started timestamp with time zone,
  time_finished timestamp with time zone,
  percent_complete number,
  output_location dbms_cloud_oci_ai_vision_output_location_t,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  is_zip_output_enabled number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_job_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_job_t (
    id varchar2,
    compartment_id varchar2,
    display_name varchar2,
    features dbms_cloud_oci_ai_vision_image_feature_tbl,
    input_location dbms_cloud_oci_ai_vision_input_location_t,
    time_accepted timestamp with time zone,
    time_started timestamp with time zone,
    time_finished timestamp with time zone,
    percent_complete number,
    output_location dbms_cloud_oci_ai_vision_output_location_t,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    is_zip_output_enabled number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) The job id

compartment_id

(required) The OCID of the compartment that starts the job.

display_name

(optional) The image job display name.

features

(required) The list of requested document analysis types.

input_location

(optional)

time_accepted

(required) The job acceptance time.

time_started

(optional) The job start time.

time_finished

(optional) The job finish time.

percent_complete

(optional) How much progress the operation has made, compared to the total amount of work to be performed.

output_location

(required)

lifecycle_state

(required) The current state of the batch image job.

Allowed values are: 'SUCCEEDED', 'FAILED', 'ACCEPTED', 'CANCELED', 'IN_PROGRESS', 'CANCELING'

lifecycle_details

(optional) The detailed status of FAILED state.

Allowed values are: 'PARTIALLY_SUCCEEDED', 'COMPLETELY_FAILED'

is_zip_output_enabled

(optional) Whether or not to generate a ZIP file containing the results.

DBMS_CLOUD_OCI_AI_VISION_IMAGE_OBJECT_DETECTION_FEATURE_T Type

The object detection parameters.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_image_object_detection_feature_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_image_feature_t (
  max_results number,
  model_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_object_detection_feature_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_object_detection_feature_t (
    feature_type varchar2,
    max_results number,
    model_id varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_image_object_detection_feature_t is a subtype of the dbms_cloud_oci_ai_vision_image_feature_t type.

Fields

Field Description

max_results

(optional) The maximum number of results to return.

model_id

(optional) The custom model ID.

DBMS_CLOUD_OCI_AI_VISION_IMAGE_TEXT_DETECTION_FEATURE_T Type

The text detection parameters.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_image_text_detection_feature_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_image_feature_t (
  language varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_text_detection_feature_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_image_text_detection_feature_t (
    feature_type varchar2,
    language varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_image_text_detection_feature_t is a subtype of the dbms_cloud_oci_ai_vision_image_feature_t type.

Fields

Field Description

language

(optional) The language of the document image, abbreviated according to ISO 639-2.

Allowed values are: 'ENG', 'CES', 'DAN', 'NLD', 'FIN', 'FRA', 'DEU', 'ELL', 'HUN', 'ITA', 'NOR', 'POL', 'POR', 'RON', 'RUS', 'SLK', 'SPA', 'SWE', 'TUR', 'ARA', 'CHI_SIM', 'HIN', 'JPN', 'KOR', 'OTHERS'

DBMS_CLOUD_OCI_AI_VISION_INLINE_DOCUMENT_DETAILS_T Type

The document incorporated in the request payload.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_inline_document_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_document_details_t (
  data clob,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_inline_document_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_inline_document_details_t (
    source varchar2,
    data clob
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_inline_document_details_t is a subtype of the dbms_cloud_oci_ai_vision_document_details_t type.

Fields

Field Description

data

(required) Raw document data.

DBMS_CLOUD_OCI_AI_VISION_INLINE_IMAGE_DETAILS_T Type

The image incorporated in the request payload.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_inline_image_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_image_details_t (
  data clob,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_inline_image_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_inline_image_details_t (
    source varchar2,
    data clob
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_inline_image_details_t is a subtype of the dbms_cloud_oci_ai_vision_image_details_t type.

Fields

Field Description

data

(required) Raw image data.

DBMS_CLOUD_OCI_AI_VISION_MODEL_T Type

Machine-learned Model.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_model_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  compartment_id varchar2(32767),
  model_type varchar2(32767),
  is_quick_mode number,
  max_training_duration_in_hours number,
  trained_duration_in_hours number,
  training_dataset dbms_cloud_oci_ai_vision_dataset_t,
  testing_dataset dbms_cloud_oci_ai_vision_dataset_t,
  validation_dataset dbms_cloud_oci_ai_vision_dataset_t,
  model_version varchar2(32767),
  project_id varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  precision number,
  recall number,
  average_precision number,
  confidence_threshold number,
  total_image_count number,
  test_image_count number,
  metrics varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_model_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_model_t (
    id varchar2,
    display_name varchar2,
    description varchar2,
    compartment_id varchar2,
    model_type varchar2,
    is_quick_mode number,
    max_training_duration_in_hours number,
    trained_duration_in_hours number,
    training_dataset dbms_cloud_oci_ai_vision_dataset_t,
    testing_dataset dbms_cloud_oci_ai_vision_dataset_t,
    validation_dataset dbms_cloud_oci_ai_vision_dataset_t,
    model_version varchar2,
    project_id varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    precision number,
    recall number,
    average_precision number,
    confidence_threshold number,
    total_image_count number,
    test_image_count number,
    metrics varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) A unique identifier that is immutable after creation.

display_name

(optional) A human-friendly name for the model, which can be changed.

description

(optional) An optional description of the model.

compartment_id

(required) The compartment identifier.

model_type

(required) What type of Vision model this is.

Allowed values are: 'IMAGE_CLASSIFICATION', 'OBJECT_DETECTION'

is_quick_mode

(optional) 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.

max_training_duration_in_hours

(optional) The maximum model training duration in hours, expressed as a decimal fraction.

trained_duration_in_hours

(optional) The total hours actually used for model training.

training_dataset

(required)

testing_dataset

(optional)

validation_dataset

(optional)

model_version

(required) The version of the model.

project_id

(required) The OCID of the project that contains the model.

time_created

(required) When the model was created, as an RFC3339 datetime string.

time_updated

(optional) When the model was updated, as an RFC3339 datetime string.

lifecycle_state

(required) The current state of the model.

Allowed values are: 'CREATING', 'UPDATING', 'ACTIVE', 'DELETING', 'DELETED', 'FAILED'

lifecycle_details

(optional) A message describing the current state in more detail, that can provide actionable information if training failed.

precision

(optional) The precision of the trained model.

recall

(optional) Recall of the trained model.

average_precision

(optional) The mean average precision of the trained model.

confidence_threshold

(optional) The intersection over the union threshold used for calculating precision and recall.

total_image_count

(optional) The number of images in the dataset used to train, validate, and test the model.

test_image_count

(optional) The number of images set aside for evaluating model performance metrics after training.

metrics

(optional) The complete set of per-label metrics for successfully trained models.

freeform_tags

(optional) 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\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`

system_tags

(optional) Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

DBMS_CLOUD_OCI_AI_VISION_MODEL_SUMMARY_T Type

The metadata about the model.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_model_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  compartment_id varchar2(32767),
  model_type varchar2(32767),
  model_version varchar2(32767),
  project_id varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  precision number,
  training_dataset dbms_cloud_oci_ai_vision_dataset_t,
  testing_dataset dbms_cloud_oci_ai_vision_dataset_t,
  validation_dataset dbms_cloud_oci_ai_vision_dataset_t,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_model_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_model_summary_t (
    id varchar2,
    display_name varchar2,
    description varchar2,
    compartment_id varchar2,
    model_type varchar2,
    model_version varchar2,
    project_id varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    precision number,
    training_dataset dbms_cloud_oci_ai_vision_dataset_t,
    testing_dataset dbms_cloud_oci_ai_vision_dataset_t,
    validation_dataset dbms_cloud_oci_ai_vision_dataset_t,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) A unique identifier that is immutable after creation.

display_name

(optional) A human-friendly name for the model, which can be changed.

description

(optional) An optional description of the model.

compartment_id

(required) The compartment identifier.

model_type

(required) What type of Vision model this is.

model_version

(required) The version of the model.

project_id

(required) The OCID of the project that contains the model.

time_created

(required) When the model was created, as an RFC3339 datetime string.

time_updated

(optional) When the model was modified, as an RFC3339 datetime string.

lifecycle_state

(required) The current state of the model.

lifecycle_details

(optional) A message describing the current state in more detail, that can provide actionable information if training failed.

precision

(optional) The precision of the trained model.

training_dataset

(optional)

testing_dataset

(optional)

validation_dataset

(optional)

freeform_tags

(optional) 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\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`

system_tags

(optional) Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

DBMS_CLOUD_OCI_AI_VISION_MODEL_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_model_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_model_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_model_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_MODEL_COLLECTION_T Type

The results of a model search.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_model_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  items dbms_cloud_oci_ai_vision_model_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_model_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_model_collection_t (
    items dbms_cloud_oci_ai_vision_model_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

items

(required) A list of models.

DBMS_CLOUD_OCI_AI_VISION_OBJECT_LOCATION_T Type

A location in Object Storage that is uniquely identified by namespace name, bucket name and object name.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_object_location_t FORCE AUTHID CURRENT_USER IS OBJECT (
  namespace_name varchar2(32767),
  bucket_name varchar2(32767),
  object_name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_object_location_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_object_location_t (
    namespace_name varchar2,
    bucket_name varchar2,
    object_name varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

namespace_name

(required) The Object Storage namespace name.

bucket_name

(required) The Object Storage bucket name.

object_name

(required) The Object Storage object name.

DBMS_CLOUD_OCI_AI_VISION_OBJECT_LOCATION_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_object_location_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_object_location_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_object_location_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_OBJECT_LIST_INLINE_INPUT_LOCATION_T Type

A list of object locations in Object Storage.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_object_list_inline_input_location_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_input_location_t (
  object_locations dbms_cloud_oci_ai_vision_object_location_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_object_list_inline_input_location_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_object_list_inline_input_location_t (
    source_type varchar2,
    object_locations dbms_cloud_oci_ai_vision_object_location_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_object_list_inline_input_location_t is a subtype of the dbms_cloud_oci_ai_vision_input_location_t type.

Fields

Field Description

object_locations

(required) The list of ObjectLocations.

DBMS_CLOUD_OCI_AI_VISION_OBJECT_STORAGE_DATASET_T Type

The dataset that resides in Object Storage.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_object_storage_dataset_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_dataset_t (
  namespace_name varchar2(32767),
  bucket_name varchar2(32767),
  object_name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_object_storage_dataset_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_object_storage_dataset_t (
    dataset_type varchar2,
    namespace_name varchar2,
    bucket_name varchar2,
    object_name varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_object_storage_dataset_t is a subtype of the dbms_cloud_oci_ai_vision_dataset_t type.

Fields

Field Description

namespace_name

(required) The namespace name of the Object Storage bucket that contains the input data file.

bucket_name

(required) The name of the Object Storage bucket that contains the input data file.

object_name

(required) The object name of the input data file.

DBMS_CLOUD_OCI_AI_VISION_OBJECT_STORAGE_DOCUMENT_DETAILS_T Type

A document in OCI Object Storage.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_object_storage_document_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_document_details_t (
  namespace_name varchar2(32767),
  bucket_name varchar2(32767),
  object_name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_object_storage_document_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_object_storage_document_details_t (
    source varchar2,
    namespace_name varchar2,
    bucket_name varchar2,
    object_name varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_object_storage_document_details_t is a subtype of the dbms_cloud_oci_ai_vision_document_details_t type.

Fields

Field Description

namespace_name

(required) The Object Storage namespace.

bucket_name

(required) The Object Storage bucket name.

object_name

(required) The Object Storage object name.

DBMS_CLOUD_OCI_AI_VISION_OBJECT_STORAGE_IMAGE_DETAILS_T Type

The image residing in OCI Object Storage.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_object_storage_image_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_image_details_t (
  namespace_name varchar2(32767),
  bucket_name varchar2(32767),
  object_name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_object_storage_image_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_object_storage_image_details_t (
    source varchar2,
    namespace_name varchar2,
    bucket_name varchar2,
    object_name varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_object_storage_image_details_t is a subtype of the dbms_cloud_oci_ai_vision_image_details_t type.

Fields

Field Description

namespace_name

(required) The Object Storage namespace.

bucket_name

(required) The Object Storage bucket name.

object_name

(required) The Object Storage object name.

DBMS_CLOUD_OCI_AI_VISION_PROJECT_T Type

A Vision Project containing models.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_project_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  compartment_id varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_project_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_project_t (
    id varchar2,
    display_name varchar2,
    description varchar2,
    compartment_id varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) A unique identifier that is immutable after creation.

display_name

(optional) A human-friendly name for the project, which can be changed.

description

(optional) An optional description of the project.

compartment_id

(required) A compartment identifier.

time_created

(required) When the project was created, as an RFC3339 datetime string.

time_updated

(optional) When the project was updated, as an RFC3339 datetime string.

lifecycle_state

(required) The current state of the project.

Allowed values are: 'CREATING', 'UPDATING', 'ACTIVE', 'DELETING', 'DELETED', 'FAILED'

lifecycle_details

(optional) A message describing the current state in more detail, that can provide actionable information if creation failed.

freeform_tags

(optional) 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\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`

system_tags

(optional) Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

DBMS_CLOUD_OCI_AI_VISION_PROJECT_SUMMARY_T Type

the metadata about the project.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_project_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  display_name varchar2(32767),
  compartment_id varchar2(32767),
  time_created timestamp with time zone,
  time_updated timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  system_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_project_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_project_summary_t (
    id varchar2,
    display_name varchar2,
    compartment_id varchar2,
    time_created timestamp with time zone,
    time_updated timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t,
    system_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(required) A unique identifier that is immutable after creation.

display_name

(optional) A human-friendly name for the project, that can be changed.

compartment_id

(required) The compartment identifier.

time_created

(required) When the project was created, as an RFC3339 datetime string.

time_updated

(optional) When the project was created, as an RFC3339 datetime string.

lifecycle_state

(required) The current state of the project.

lifecycle_details

(optional) A message describing the current state in more detail, that can provide actionable information if creation failed.

freeform_tags

(optional) 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\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`

system_tags

(optional) Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`

DBMS_CLOUD_OCI_AI_VISION_PROJECT_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_project_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_project_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_project_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_PROJECT_COLLECTION_T Type

The results of a project search.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_project_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  items dbms_cloud_oci_ai_vision_project_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_project_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_project_collection_t (
    items dbms_cloud_oci_ai_vision_project_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

items

(required) List of projects.

DBMS_CLOUD_OCI_AI_VISION_UPDATE_MODEL_DETAILS_T Type

The metadata which can be edited after model creation.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_update_model_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  description varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_update_model_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_update_model_details_t (
    display_name varchar2,
    description varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(optional) A human-friendly name of the model, which can be changed.

description

(optional) An optional description of the model.

freeform_tags

(optional) 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\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`

DBMS_CLOUD_OCI_AI_VISION_UPDATE_PROJECT_DETAILS_T Type

The metadata that can be edited after project creation.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_update_project_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  description varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_update_project_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_update_project_details_t (
    display_name varchar2,
    description varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(optional) A human-friendly name for the project, that can be changed.

description

(optional) An optional description of the project.

freeform_tags

(optional) 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\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`

DBMS_CLOUD_OCI_AI_VISION_VALUE_ARRAY_T Type

The array of field values.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_value_array_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_field_value_t (
  items dbms_cloud_oci_ai_vision_document_field_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_array_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_array_t (
    value_type varchar2,
    text varchar2,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
    word_indexes dbms_cloud_oci_ai_vision_number_tbl,
    items dbms_cloud_oci_ai_vision_document_field_tbl
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_value_array_t is a subtype of the dbms_cloud_oci_ai_vision_field_value_t type.

Fields

Field Description

items

(required)

DBMS_CLOUD_OCI_AI_VISION_VALUE_DATE_T Type

The date field value.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_value_date_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_field_value_t (
  value timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_date_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_date_t (
    value_type varchar2,
    text varchar2,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
    word_indexes dbms_cloud_oci_ai_vision_number_tbl,
    value timestamp with time zone
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_value_date_t is a subtype of the dbms_cloud_oci_ai_vision_field_value_t type.

Fields

Field Description

value

(required) The date field value as yyyy-mm-dd.

DBMS_CLOUD_OCI_AI_VISION_VALUE_INTEGER_T Type

The integer field value.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_value_integer_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_field_value_t (
  value number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_integer_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_integer_t (
    value_type varchar2,
    text varchar2,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
    word_indexes dbms_cloud_oci_ai_vision_number_tbl,
    value number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_value_integer_t is a subtype of the dbms_cloud_oci_ai_vision_field_value_t type.

Fields

Field Description

value

(required) The integer value.

DBMS_CLOUD_OCI_AI_VISION_VALUE_NUMBER_T Type

The floating point number field value.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_value_number_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_field_value_t (
  value number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_number_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_number_t (
    value_type varchar2,
    text varchar2,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
    word_indexes dbms_cloud_oci_ai_vision_number_tbl,
    value number
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_value_number_t is a subtype of the dbms_cloud_oci_ai_vision_field_value_t type.

Fields

Field Description

value

(required) The number value.

DBMS_CLOUD_OCI_AI_VISION_VALUE_PHONE_NUMBER_T Type

The phone number field value.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_value_phone_number_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_field_value_t (
  value varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_phone_number_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_phone_number_t (
    value_type varchar2,
    text varchar2,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
    word_indexes dbms_cloud_oci_ai_vision_number_tbl,
    value varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_value_phone_number_t is a subtype of the dbms_cloud_oci_ai_vision_field_value_t type.

Fields

Field Description

value

(required) The phone number field value.

DBMS_CLOUD_OCI_AI_VISION_VALUE_STRING_T Type

The string field value.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_value_string_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_field_value_t (
  value varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_string_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_string_t (
    value_type varchar2,
    text varchar2,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
    word_indexes dbms_cloud_oci_ai_vision_number_tbl,
    value varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_value_string_t is a subtype of the dbms_cloud_oci_ai_vision_field_value_t type.

Fields

Field Description

value

(required) The string text.

DBMS_CLOUD_OCI_AI_VISION_VALUE_TIME_T Type

The time field value.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_value_time_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_ai_vision_field_value_t (
  value timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_time_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_value_time_t (
    value_type varchar2,
    text varchar2,
    confidence number,
    bounding_polygon dbms_cloud_oci_ai_vision_bounding_polygon_t,
    word_indexes dbms_cloud_oci_ai_vision_number_tbl,
    value timestamp with time zone
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_ai_vision_value_time_t is a subtype of the dbms_cloud_oci_ai_vision_field_value_t type.

Fields

Field Description

value

(required) The time field value as yyyy-mm-dd hh-mm-ss.

DBMS_CLOUD_OCI_AI_VISION_WORK_REQUEST_RESOURCE_T Type

A resource created, or operated on, by a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_work_request_resource_t FORCE AUTHID CURRENT_USER IS OBJECT (
  entity_type varchar2(32767),
  action_type varchar2(32767),
  identifier varchar2(32767),
  entity_uri varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_resource_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_resource_t (
    entity_type varchar2,
    action_type varchar2,
    identifier varchar2,
    entity_uri varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

entity_type

(required) The resource type the work request affects.

action_type

(required) The way in which this resource is affected by the work tracked in the work request. A resource being created, updated, or deleted remains in the IN_PROGRESS state until the work is complete for. At that point, it transitions to CREATED, UPDATED, or DELETED, as appropriate.

Allowed values are: 'CREATED', 'UPDATED', 'DELETED', 'IN_PROGRESS', 'RELATED', 'FAILED'

identifier

(required) The identifier of the resource the work request affects.

entity_uri

(optional) The URI path that the user can do a GET on to access the resource metadata.

DBMS_CLOUD_OCI_AI_VISION_WORK_REQUEST_RESOURCE_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_work_request_resource_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_work_request_resource_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_work_request_resource_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_WORK_REQUEST_T Type

The workrequest status details.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_work_request_t FORCE AUTHID CURRENT_USER IS OBJECT (
  operation_type varchar2(32767),
  status varchar2(32767),
  id varchar2(32767),
  compartment_id varchar2(32767),
  resources dbms_cloud_oci_ai_vision_work_request_resource_tbl,
  percent_complete number,
  time_accepted timestamp with time zone,
  time_started timestamp with time zone,
  time_finished timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_t (
    operation_type varchar2,
    status varchar2,
    id varchar2,
    compartment_id varchar2,
    resources dbms_cloud_oci_ai_vision_work_request_resource_tbl,
    percent_complete number,
    time_accepted timestamp with time zone,
    time_started timestamp with time zone,
    time_finished timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

operation_type

(required) The type of work request.

Allowed values are: 'CREATE_PROJECT', 'UPDATE_PROJECT', 'DELETE_PROJECT', 'MOVE_PROJECT', 'CREATE_MODEL', 'UPDATE_MODEL', 'DELETE_MODEL', 'MOVE_MODEL'

status

(required) The status of the current work request.

Allowed values are: 'ACCEPTED', 'IN_PROGRESS', 'WAITING', 'FAILED', 'SUCCEEDED', 'CANCELING', 'CANCELED'

id

(required) The ID of the work request.

compartment_id

(required) The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects.

resources

(required) The resources affected by this work request.

percent_complete

(required) The percentage of the request completed.

time_accepted

(required) The date and time the request was created, as described in RFC 3339, section 14.29.

time_started

(optional) The date and time the request was started, as described in RFC 3339, section 14.29.

time_finished

(optional) The date and time the object was finished, as described in RFC 3339.

DBMS_CLOUD_OCI_AI_VISION_WORK_REQUEST_ERROR_T Type

An error encountered while executing a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_work_request_error_t FORCE AUTHID CURRENT_USER IS OBJECT (
  code varchar2(32767),
  message varchar2(32767),
  l_timestamp timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_error_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_error_t (
    code varchar2,
    message varchar2,
    l_timestamp timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

code

(required) A machine-usable code for the error that occured. Error codes are listed on (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).

message

(required) A human-readable description of the issue encountered.

l_timestamp

(required) When the error occured, as an RFC3339 formatted datetime.

DBMS_CLOUD_OCI_AI_VISION_WORK_REQUEST_ERROR_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_work_request_error_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_work_request_error_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_work_request_error_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_WORK_REQUEST_ERROR_COLLECTION_T Type

The results of a workRequestError search.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_work_request_error_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  items dbms_cloud_oci_ai_vision_work_request_error_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_error_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_error_collection_t (
    items dbms_cloud_oci_ai_vision_work_request_error_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

items

(required) the list of workRequestError objects.

DBMS_CLOUD_OCI_AI_VISION_WORK_REQUEST_LOG_ENTRY_T Type

A log message from the execution of a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_work_request_log_entry_t FORCE AUTHID CURRENT_USER IS OBJECT (
  message varchar2(32767),
  l_timestamp timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_log_entry_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_log_entry_t (
    message varchar2,
    l_timestamp timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

message

(required) A human-readable log message.

l_timestamp

(required) When the log message was written, as an RFC3339 formatted datetime.

DBMS_CLOUD_OCI_AI_VISION_WORK_REQUEST_LOG_ENTRY_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_work_request_log_entry_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_work_request_log_entry_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_work_request_log_entry_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_WORK_REQUEST_LOG_ENTRY_COLLECTION_T Type

The results of a workRequestLog search.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_work_request_log_entry_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  items dbms_cloud_oci_ai_vision_work_request_log_entry_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_log_entry_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_log_entry_collection_t (
    items dbms_cloud_oci_ai_vision_work_request_log_entry_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

items

(required) The list of workRequestLogEntries.

DBMS_CLOUD_OCI_AI_VISION_WORK_REQUEST_SUMMARY_T Type

A summary of the status of a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_work_request_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  operation_type varchar2(32767),
  status varchar2(32767),
  id varchar2(32767),
  compartment_id varchar2(32767),
  resources dbms_cloud_oci_ai_vision_work_request_resource_tbl,
  percent_complete number,
  time_accepted timestamp with time zone,
  time_started timestamp with time zone,
  time_finished timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_summary_t (
    operation_type varchar2,
    status varchar2,
    id varchar2,
    compartment_id varchar2,
    resources dbms_cloud_oci_ai_vision_work_request_resource_tbl,
    percent_complete number,
    time_accepted timestamp with time zone,
    time_started timestamp with time zone,
    time_finished timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

operation_type

(required) The type of the work request.

Allowed values are: 'CREATE_PROJECT', 'UPDATE_PROJECT', 'DELETE_PROJECT', 'MOVE_PROJECT', 'CREATE_MODEL', 'UPDATE_MODEL', 'DELETE_MODEL', 'MOVE_MODEL'

status

(required) The status of the current work request.

Allowed values are: 'ACCEPTED', 'IN_PROGRESS', 'WAITING', 'FAILED', 'SUCCEEDED', 'CANCELING', 'CANCELED'

id

(required) The ID of the work request.

compartment_id

(required) The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request affects multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment is used.

resources

(required) The resources affected by this work request.

percent_complete

(required) The percentage of the request completed.

time_accepted

(required) The date and time the request was created, as described in RFC 3339, section 14.29.

time_started

(optional) The date and time the request was started, as described in RFC 3339, section 14.29.

time_finished

(optional) The date and time the object was finished, as described in RFC 3339.

DBMS_CLOUD_OCI_AI_VISION_WORK_REQUEST_SUMMARY_TBL Type

Nested table type of dbms_cloud_oci_ai_vision_work_request_summary_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_work_request_summary_tbl FORCE IS TABLE OF (dbms_cloud_oci_ai_vision_work_request_summary_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_AI_VISION_WORK_REQUEST_SUMMARY_COLLECTION_T Type

The results of a workRequest search.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_ai_vision_work_request_summary_collection_t FORCE AUTHID CURRENT_USER IS OBJECT (
  items dbms_cloud_oci_ai_vision_work_request_summary_tbl,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_summary_collection_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_ai_vision_work_request_summary_collection_t (
    items dbms_cloud_oci_ai_vision_work_request_summary_tbl
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

items

(required) The list of workRequestSummary objects.

Was this article helpful?