FAI_RAG_DOCUMENTS

This table stores information about documents used for RAG functionality.

Details

  • Schema: FUSION

  • Object owner: FAI

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

FAI_RAG_DOCUMENTS_PK

RAG_DOCUMENT_ID

Columns

Name Datatype Length Precision Not-null Comments
RAG_DOCUMENT_ID NUMBER 18 Yes Autogenerated number and primary key for this table.
USE_CASE_ID VARCHAR2 100 Yes The associated use case identifier.
USE_CASE_PARTITION VARCHAR2 100 Partitioning key based on use case segmentation.
DOCUMENT_ID VARCHAR2 100 Unique identifier of a document in its source system.
DOCUMENT_SOURCE VARCHAR2 100 The original source of the document.
DOCUMENT_TYPE VARCHAR2 100 The type of the document (e.g. application/pdf).
DOCUMENT_TITLE VARCHAR2 1000 The title heading of the document.
DOCUMENT_CATEGORY VARCHAR2 1000 The category the document is classified in.
DOCUMENT_LANGUAGE VARCHAR2 4 The language used in the document text.
ENTITY_TYPE VARCHAR2 100 The type of entity associated with the document.
ENTITY_ID VARCHAR2 100 The identifier of the entity associated with the document.
PARENT_OBJECT_ID VARCHAR2 200 Parent ID for the current object.
GRANDPARENT_OBJECT_ID VARCHAR2 200 Grand parent ID for the current object.
ROOT_OBJECT_ID VARCHAR2 200 Root object ID for the current object.
DOCUMENT_TEXT CLOB The textual content of the document.
DOCUMENT_PROPERTIES CLOB Additional properties of the document.
FILTER_PROPERTIES CLOB Filter properties of the document to support search.
RAG_DOCUMENT_METADATA CLOB Information related to processing of the document such as chunking strategy.
STATUS VARCHAR2 50 The current processing status of the document.
STATUS_DETAILS VARCHAR2 4000 Additional details about the status of the document.
DELETION_DATE TIMESTAMP The date when a document is deleted and made unavailable to be searched on.
EXPIRATION_DATE TIMESTAMP The date when a document expires and should be processed for deletion.
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_RAG_DOCUMENTS_N1 Non Unique Default USE_CASE_ID
FAI_RAG_DOCUMENTS_N2 Non Unique Default ENTITY_TYPE, ENTITY_ID
FAI_RAG_DOCUMENTS_N3 Non Unique Default DOCUMENT_CATEGORY
FAI_RAG_DOCUMENTS_N4 Non Unique Default DOCUMENT_TYPE
FAI_RAG_DOCUMENTS_N5 Non Unique Default STATUS
FAI_RAG_DOCUMENTS_N6 Non Unique Default PARENT_OBJECT_ID
FAI_RAG_DOCUMENTS_N7 Non Unique Default GRANDPARENT_OBJECT_ID
FAI_RAG_DOCUMENTS_N8 Non Unique Default ROOT_OBJECT_ID
FAI_RAG_DOCUMENTS_PK Unique Default RAG_DOCUMENT_ID