FAI_GENAI_METRICS

This table stores metrics for generative AI related requests or feedback.

Details

  • Schema: FUSION

  • Object owner: FAI

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

FAI_GENAI_METRICS_PK

METRIC_ID

Columns

Name Datatype Length Precision Not-null Comments
METRIC_ID NUMBER 18 Yes Autogenerated number and primary key for this table.
FEEDBACK_ID NUMBER 18 Foreign key referencing the FEEDBACK_ID column in the FAI_GENAI_FEEDBACK table.
ORCHESTRATION_FLOW_ID VARCHAR2 80 Yes Foreign key referencing the ORCHESTRATION_FLOW_ID column in the FAI_GENAI_REQUESTS table.
RESOURCE_GROUP VARCHAR2 255 Yes The type or category to which the metric belongs. For example, a guardrail metric or feedback metric.
METRIC_NAME VARCHAR2 255 Yes The name of the generative AI metric.
METRIC_VALUE NUMBER Yes The value of the generative AI metric.
METRIC_VERSION VARCHAR2 80 The version of the generative AI metric.
METRIC_STATUS VARCHAR2 80 Yes The status of the metric during its computational lifecycle.
LANGUAGE_CODE VARCHAR2 80 The language code of the request related to the metric.
ORCHESTRATION_PHASE VARCHAR2 30 The phase of the orchestration process for the metric calculated.
HTTP_STATUS_CODE NUMBER 3 The http status code for orchestrator request count metrics.
ERROR_CODE VARCHAR2 80 The error code returned by a scoring component when the calculation of metrics has errored.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.

Indexes

Index Uniqueness Tablespace Columns
FAI_GENAI_METRICS_N1 Non Unique Default FEEDBACK_ID
FAI_GENAI_METRICS_N2 Non Unique Default ORCHESTRATION_FLOW_ID
FAI_GENAI_METRICS_N3 Non Unique Default METRIC_NAME
FAI_GENAI_METRICS_N4 Non Unique Default CREATION_DATE
FAI_GENAI_METRICS_PK Unique Default METRIC_ID