diff --git a/assets/atomic-indexing-example.png b/assets/atomic-indexing-example.png new file mode 100644 index 000000000..4cab24396 Binary files /dev/null and b/assets/atomic-indexing-example.png differ diff --git a/assets/atomic-nodes-neo4j.png b/assets/atomic-nodes-neo4j.png new file mode 100644 index 000000000..5c3b10f0c Binary files /dev/null and b/assets/atomic-nodes-neo4j.png differ diff --git a/assets/atomic_indexing.svg b/assets/atomic_indexing.svg new file mode 100644 index 000000000..6bb083e37 --- /dev/null +++ b/assets/atomic_indexing.svg @@ -0,0 +1,1190 @@ + + + +Similar ChunksUser QueryWhat does a yellow curb on the road mean?Atomic NodesAct ASection 1Act ASection 1Act BSection 2Search Matches TheseAct ASection 1Act ASection 2ISISISPortions of Act with MetadataA yellow curb on the road means that no person shall stop, park or leave standing any motor vehicle attended or unattended, except where necessary to avoid conflict with other traffic or in compliance with the direction of a peace officer. +(Motor Vehicle Act Regulations, Section 18.01)Prompt+ContextAdvantages:1. LLM has additional context from related parts of the Act. + +2. The LLM has context on section, subsection, etc. where info was found. + +3. Can pull parts of other acts if connected by references. +The text "parking prohibited at yellow curb" and the section name "18.01" suggest that parking is not allowed at a yellow curb, except where a municipal bylaw provides otherwise. This is because a curb painted yellow instructs every driver of a vehicle that no person shall stop, park or leave standing any motor vehicle attended or unattended, except where necessary to avoid conflict with other traffic or in compliance with the direction of a peace officer.Similar ChunksUser QueryWhat does a yellow curb on the road mean?Act ASection 1Act ASection 1Act BSection 2Search Matches ThesePrompt+ContextIssues:1. LLM is not confident where this info came from. Gives section number, but not the Act. + +2. There's no concept of interconnectivity between Acts. + diff --git a/assets/non-atomic-example.png b/assets/non-atomic-example.png new file mode 100644 index 000000000..fd238ab12 Binary files /dev/null and b/assets/non-atomic-example.png differ diff --git a/web/frontend-feedback-analytics/presentation/index.html b/web/frontend-feedback-analytics/presentation/index.html index 2d8cc1083..2e8cbbad6 100644 --- a/web/frontend-feedback-analytics/presentation/index.html +++ b/web/frontend-feedback-analytics/presentation/index.html @@ -179,6 +179,28 @@

HPC

src="https://raw.githubusercontent.com/bcgov/citz-imb-ai/main/assets/system_architecture.jpg" /> +
+

Atomic Indexing

+ + +
+
+
Atomic Indexing Process
+
    +
  1. Break down XML documents based on element name and construct objects for each element
  2. +
  3. Insert these elements into the database and connect them to their parent and child elements
  4. +
  5. Connect atomic sections with UpdatedChunk sections using the [:IS] relation edge
  6. +
+
+
+
Atomic Indexing Example
+ +
+