SVC_GENAI_PROMPT_VARS
For each generative ai use case, we need to prepare request payload for LLM API. This table stores prompt variables that need to be passed on to the LLM API.
Details
-
Schema: FUSION
-
Object owner: SVC
-
Object type: TABLE
-
Tablespace: REFERENCE
Primary Key
Name | Columns |
---|---|
SVC_GENAI_PROMPT_VARS_PK |
PROMPT_VARIABLE_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
PROMPT_VARIABLE_ID | NUMBER | 18 | Yes | Auto-generated number and primary key for this table. | |
PROMPT_VARIABLE_NUMBER | VARCHAR2 | 30 | Yes | Auto-generated unique number with customizable format. | |
USE_CASE_CD | VARCHAR2 | 100 | Yes | Generative AI use case code that need to be passed on to the LLM API. | |
OBJECT_NAME | VARCHAR2 | 100 | Yes | Indicates prompt is for which object such as ServiceRequest. | |
PROMPT_VARIABLES_DEFINITION | VARCHAR2 | 2000 | Indicates definition of the prompt variables such as PromptVariableName, PromptVariableValues and PromptVariableFilter which will be used to prepare request payload for LLM API. | ||
VERSION | VARCHAR2 | 100 | Indicates version of the prompt template. | ||
PROMPT_CODE | VARCHAR2 | 100 | Indicates name of the prompt template. This is the promptCode value that wil be passed on to the LLM API. | ||
LANGUAGE_CD | VARCHAR2 | 30 | Lookup code that indicates language for the prompt. | ||
DELETED_FLAG | VARCHAR2 | 1 | Yes | Indicates whether the prompt variable is logically deleted (Y or N). | |
ENABLED_FLAG | VARCHAR2 | 1 | Yes | Indicates whether the prompt variable is enabled (Y or N). | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated 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. | |
SEED_DATA_SOURCE | VARCHAR2 | 512 | Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file. | ||
ORA_SEED_SET1 | VARCHAR2 | 1 | Yes | Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N. | |
ORA_SEED_SET2 | VARCHAR2 | 1 | Yes | Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
SVC_GENAI_PROMPT_VARS_N1 | Non Unique | Default | USE_CASE_CD |
SVC_GENAI_PROMPT_VARS_PK | Unique | Default | PROMPT_VARIABLE_ID, ORA_SEED_SET1 |
SVC_GENAI_PROMPT_VARS_PK1 | Unique | Default | PROMPT_VARIABLE_ID, ORA_SEED_SET2 |
SVC_GENAI_PROMPT_VARS_U1 | Unique | Default | PROMPT_VARIABLE_NUMBER, ORA_SEED_SET1 |
SVC_GENAI_PROMPT_VARS_U11 | Unique | Default | PROMPT_VARIABLE_NUMBER, ORA_SEED_SET2 |