FAI_RAG_DOC_CHUNKS

This table stores the chunks of documents used for RAG functionality.

Details

  • Schema: FUSION

  • Object owner: FAI

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

FAI_RAG_DOC_CHUNKS_PK

CHUNK_ID

Columns

Name Datatype Length Precision Not-null Comments
CHUNK_ID NUMBER 18 Yes Autogenerated number and primary key for this table
RAG_DOCUMENT_ID NUMBER 18 Yes Foreign key referencing the RAG_DOCUMENT_ID column in the FAI_GENAI_RAG_DOCUMENTS table.
CHUNK_TEXT CLOB Yes A chunk of the text in a document.
CHUNK_ORDER NUMBER 9 Yes The sequential order of the chunk within a document.
CHUNK_SIZE NUMBER 18 The size of the chunk, which may be in terms of tokens or characters.
EXPANDED_CHUNK_TEXT CLOB An expanded chunk of text in the document, which may contain preceding or subsequent chunk text.
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_DOC_CHUNKS_N1 Non Unique Default RAG_DOCUMENT_ID
FAI_RAG_DOC_CHUNKS_PK Unique Default CHUNK_ID