liveBook · Manning

Migration

As explained in Generative AI in Action

ETL is a data-processing pattern that extracts data from sources, transforms it, and loads it into a destination system.

Extract, transform, load (ETL) moves data from source systems into a destination in a usable form. In generative AI applications, ETL and related data pipelines prepare enterprise data for retrieval-augmented generation (RAG), so models can use relevant information from systems of record. section 8.4.1 section 10.4.1

A practical RAG data pipeline follows these steps:

  • Profile the source data. Examine its structure, data types, distribution, and relationships; define the use case, users’ information needs, and success metrics. section 8.4.1
  • Extract and transform. Connect to source systems and convert their data into a usable format. Depending on the content, preprocessing may include tokenization, stop-word removal, or lemmatization. section 8.4.1 section 10.2.3
  • Index and store. Index transformed data for efficient retrieval and select storage according to data size, speed, and type. A grounding layer can also create embeddings and use a vector database. section 8.4.1 section 10.2.3

Preparing enterprise records for RAG

An application can integrate CRM or ERP records and other enterprise data through APIs or plugins, then transform the data for retrieval. The design should account for the source formats, authentication, refresh frequency, and computational cost. Depending on the use case, the pipeline may need batch or stream processing. section 10.4.1 section 10.2.3

Plan preprocessing rather than applying every available technique: poor choices can cause search problems. Design integrations for security, compliance, scalability, and data quality, and choose on-premises, cloud, or hybrid infrastructure according to organizational policies and data sensitivity. section 8.4.1 section 10.4.1 section 10.2.1

How Generative AI in Action covers it

How deep it goes
Outlines source profiling, requirements, transformation, indexing, and storage without implementing a complete pipeline.
Examples
Names CRM and ERP records, SQL entries, unstructured files, and IoT streams as integration sources.
What you can do after
Evaluate and plan a RAG data pipeline around source characteristics, retrieval needs, and operational constraints.
How it connects
Connects ETL with retrieval-augmented generation, preprocessing, search indexing, embeddings, and vector databases.

Also explained in

Compare how 19 books explain migration →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Generative AI in Action. The section links point to the parts of the book it draws on.