A clerk’s office needs document metadata from its enterprise content management system reflected in the RAG index without tightly coupling the two applications. Which integration approach best fits?
Select an answer to reveal the explanation.
Short Explanation
The filing cabinet and the search index should stay friends who trade updates—not become one welded piece of furniture. Async events or scheduled sync jobs keep clerk ECM metadata flowing into RAG without locking the two apps together.
Full Explanation
Clerk offices that need enterprise content management metadata reflected in a RAG index should synchronize through asynchronous events or scheduled sync jobs so ECM and the vector corpus stay aligned without hard UI coupling. When filings change, events or batch sync update embeddings and metadata in the retrieval store while clerks continue using ECM as the system of record. Loose coupling lets each platform evolve—new RAG fields or ECM types—without embedding indexer secrets in desktop clients. Embedding the RAG indexer’s database credentials inside the ECM desktop client fails secret distribution and expands compromise blast radius to every clerk workstation. Requiring clerks to retype metadata into the vector store after every filing fails data quality and will not scale for municipal filing volumes. Collapsing ECM and the vector database into one monolithic process on a single EC2 instance fails resilience and separation of concerns; a single host outage takes both records management and GenAI retrieval down together. Exam caveat: sync lag is real—publish a freshness SLO so GenAI answers do not cite filings that are still queued. Handle deletes and privilege changes in ECM so restricted documents do not linger as retrievable chunks. Prefer idempotent upserts keyed by document ID. Operational check: Emit or schedule metadata sync on create/update/delete; verify IAM for the sync worker only; measure lag from ECM commit to searchable RAG; sample retrieval results after a filing; and confirm restricted matters are removed or filtered from the index when ECM ACLs change.