Skip to contentমূল লেখায় যান

Skill 07 · AI skillsস্কিল 07 · AI skills

Data Enrichment at Scale

Sales teams use AI to fill in missing facts about thousands of companies at once. Testers have the same problem with a different table: ten thousand test users, a product catalog, a set of real-world pages. Data enrichment is the skill of adding the missing fields to many rows at a time, and checking that the result is right.

6 min read6 মিনিটে পড়া যায় · 7 sections7টি সেকশন · 7 sources7টি সোর্স · updated Nov 2026আপডেট: Nov 2026

Enrich rows with a waterfallওয়াটারফল দিয়ে সারি enrich করুন

Each row asks the sources in order until a field fills. Slide the number of sources and watch the fill rate and the calls.প্রতিটা সারি ক্রমে সোর্সদের জিজ্ঞেস করে, যতক্ষণ না ফিল্ড ভরে। সোর্সের সংখ্যা বদলান আর ভরা সারির হার ও কল দেখুন।

2 min2 মিনিট8 steps8টি ধাপ
  • Rowsসারি100
100 rows, empty100 সারি, ফাঁকাFakerFakerrowsসারি100 rows100 সারিProviderপ্রোভাইডারAAProviderপ্রোভাইডারBBModelমডেলbatchব্যাচValidatorভ্যালিডেটরschemaস্কিমা

You’ll learnআপনি শিখবেন

  • Why a seed makes the data repeatসিড কেন একই ডেটা দেয়
  • How a waterfall asks in a set orderওয়াটারফল কীভাবে ক্রমে জিজ্ঞেস করে
  • Each extra source adds callsপ্রতিটা বাড়তি সোর্সে কল বাড়ে
  • Batch limits and custom_idbatch-এর সীমা আর custom_id
  • Why you validate every rowকেন প্রতিটা সারি যাচাই করবেন

In plain words

In this tutorial, data enrichment means this: you start with a table of records and add new fields to every row from another source. The source can be a data provider, a web page, or a language model.

Sales tools made the idea popular. In Clay, for example, you add an enrichment to a table, and a waterfall asks several data providers in a set order Source 1সোর্স 1. Web tools do the same for page content: Firecrawl gets clean Markdown or structured data from live websites Source 3সোর্স 3, and an Apify Actor is a cloud program that takes JSON input and runs a task such as web scraping or browser automation Source 2সোর্স 2.

For a tester, the rows are test data: users, orders, addresses, product texts, and the pages that your app must handle. A library such as Faker makes fake but realistic rows for unit tests and performance tests Source 6সোর্স 6. Enrichment then adds the fields that a simple generator cannot make well, such as a realistic product review or a valid address format for one country.

সহজ English

In this tutorial, data enrichment means this. You start with a table of records. You add new fields to every row from another source. The source can be a data provider, a web page, or a language model.

Sales tools made the idea popular. In Clay, for example, you add an enrichment to a table. A waterfall asks several data providers, one after another, in a set order Source 1সোর্স 1. Web tools do the same for page content. Firecrawl gets clean Markdown or structured data from live websites Source 3সোর্স 3. An Apify Actor is a cloud program. It takes JSON input and runs a task, such as web scraping or browser automation Source 2সোর্স 2.

For a tester, the rows are test data: users, orders, addresses, product texts, and the pages that your app must handle. A library such as Faker makes fake but realistic rows for unit tests and performance tests Source 6সোর্স 6. Enrichment then adds the fields that a simple generator cannot make well. Examples are a realistic product review, or a valid address format for one country.

বাংলা ব্যাখ্যা

এই টিউটোরিয়ালে data enrichment মানে হলো: আপনি রেকর্ডের একটা টেবিল দিয়ে শুরু করেন, তারপর অন্য একটা সোর্স থেকে প্রতিটা সারিতে (row) নতুন ফিল্ড যোগ করেন। সোর্স হতে পারে একটা ডেটা প্রোভাইডার, একটা ওয়েব পেজ, বা একটা ল্যাঙ্গুয়েজ মডেল।

সেলস টুলগুলো এই ধারণাকে জনপ্রিয় করেছে। যেমন Clay-তে আপনি একটা টেবিলে একটা enrichment যোগ করেন, আর একটা waterfall একটা নির্দিষ্ট ক্রমে একাধিক ডেটা প্রোভাইডারকে জিজ্ঞেস করে Source 1সোর্স 1। ওয়েব টুলগুলো পেজের কনটেন্টের জন্য একই কাজ করে। Firecrawl লাইভ ওয়েবসাইট থেকে পরিষ্কার Markdown বা structured data আনে Source 3সোর্স 3। একটা Apify Actor হলো একটা ক্লাউড প্রোগ্রাম। এটা JSON ইনপুট নেয় আর web scraping বা browser automation-এর মতো একটা কাজ চালায় Source 2সোর্স 2।

টেস্টারের জন্য সারিগুলো হলো test data: ইউজার, অর্ডার, ঠিকানা, প্রোডাক্টের টেক্সট, আর যে পেজগুলো আপনার অ্যাপকে সামলাতে হয়। Faker-এর মতো একটা লাইব্রেরি unit test আর performance test-এর জন্য নকল কিন্তু বাস্তবসম্মত সারি বানায় Source 6সোর্স 6। তারপর enrichment এমন ফিল্ড যোগ করে যা একটা সাধারণ জেনারেটর ভালো বানাতে পারে না। যেমন একটা বাস্তবসম্মত প্রোডাক্ট রিভিউ, বা একটা দেশের সঠিক ঠিকানার ফরম্যাট।

How it works

An enrichment job is a pipeline. Each row goes through the same steps:

base rows (Faker, seed 42)
   |
   v
enrich each row --> data provider | web page (Firecrawl, Apify) | model (batch)
   |
   v
validate (schema, rules) --> rejected rows go to a review list
   |
   v
test data set (versioned file or seed script)

Base rows. Faker makes the skeleton rows. Set your own seed, and you get the same data on every run with the same Faker version Source 7সোর্স 7. Methods that use relative dates, such as faker.date.recent, are an exception, so save the file.

Model calls at scale. For thousands of rows, send the model calls as a batch. The Message Batches API processes a large number of requests asynchronously Source 4সোর্স 4. One batch holds up to 100,000 requests or 256 MB Source 4সোর্স 4. You can read the results when all requests are done or after 24 hours, and a batch that does not finish in 24 hours expires Source 4সোর্স 4. The results can come back in any order, so match each one by its custom_id Source 4সোর্স 4.

A fixed shape. Ask for each row in a JSON schema with structured outputs. Claude's response then follows the schema, so your script can always parse it Source 5সোর্স 5. The schema goes in output_config.format Source 5সোর্স 5.

Web content. Firecrawl can search, scrape, map, and crawl sites Source 3সোর্স 3, and it can also be self-hosted Source 3সোর্স 3. Apify has ready-made public Actors in Apify Store Source 2সোর্স 2.

সহজ English

An enrichment job is a pipeline. Each row goes through the same steps. First, you make base rows with Faker. Then you enrich each row from a data provider, a web page, or a model. Then you check each row against a schema and your rules. Bad rows go to a list for review. The good rows become your test data set, in a file or a seed script.

Base rows. Faker makes the basic rows. Set your own seed, and you get the same data on every run with the same Faker version Source 7সোর্স 7. Methods that use relative dates, such as faker.date.recent, are an exception, so save the file.

Model calls at scale. For thousands of rows, send the model calls as a batch. The Message Batches API handles a large number of requests in the background Source 4সোর্স 4. One batch holds up to 100,000 requests or 256 MB Source 4সোর্স 4. You can read the results when all requests are done, or after 24 hours. A batch that does not finish in 24 hours expires Source 4সোর্স 4. The results can come back in any order. So match each one by its custom_id Source 4সোর্স 4.

A fixed shape. Ask for each row in a JSON schema with structured outputs. Then Claude's response follows the schema, and your script can always read it Source 5সোর্স 5. The schema goes in output_config.format Source 5সোর্স 5.

Web content. Firecrawl can search, scrape, map, and crawl sites Source 3সোর্স 3. You can also run it on your own servers Source 3সোর্স 3. Apify has ready-made public Actors in Apify Store Source 2সোর্স 2.

বাংলা ব্যাখ্যা

একটা enrichment কাজ হলো একটা pipeline। প্রতিটা সারি একই ধাপগুলো পার হয়। প্রথমে Faker দিয়ে মূল সারি বানান। তারপর একটা ডেটা প্রোভাইডার, একটা ওয়েব পেজ বা একটা মডেল থেকে প্রতিটা সারি enrich করুন। তারপর প্রতিটা সারি একটা schema আর আপনার নিয়মের সাথে মিলিয়ে দেখুন। খারাপ সারি রিভিউয়ের তালিকায় যায়। ভালো সারিগুলো একটা ফাইল বা seed script-এ আপনার টেস্ট ডেটা সেট হয়।

মূল সারি। Faker মূল সারিগুলো বানায়। একই Faker version হলে নিজের seed সেট করলে প্রতিবার একই ডেটা পাবেন Source 7সোর্স 7। আপেক্ষিক তারিখ ব্যবহার করা মেথড, যেমন faker.date.recent, ব্যতিক্রম, তাই ফাইলটা সেভ করুন।

বড় পরিসরে মডেল কল। হাজার হাজার সারির জন্য মডেল কলগুলো একটা batch হিসেবে পাঠান। Message Batches API অনেক রিকুয়েস্ট asynchronous-ভাবে প্রসেস করে Source 4সোর্স 4। একটা batch-এ সর্বোচ্চ 100,000 রিকুয়েস্ট বা 256 MB থাকে Source 4সোর্স 4। সব রিকুয়েস্ট শেষ হলে, অথবা 24 ঘণ্টা পরে, আপনি ফলাফল পড়তে পারেন। 24 ঘণ্টায় শেষ না হলে batch-এর মেয়াদ শেষ হয় Source 4সোর্স 4। ফলাফল যেকোনো ক্রমে আসতে পারে, তাই প্রতিটা ফলাফল তার custom_id দিয়ে মেলান Source 4সোর্স 4।

নির্দিষ্ট আকার। Structured outputs দিয়ে প্রতিটা সারি একটা JSON schema-তে চান। তখন Claude-এর উত্তর schema মেনে চলে, তাই আপনার স্ক্রিপ্ট সবসময় সেটা পার্স করতে পারে Source 5সোর্স 5। Schema যায় output_config.format-এ Source 5সোর্স 5।

ওয়েবের কনটেন্ট। Firecrawl সাইট search, scrape, map আর crawl করতে পারে Source 3সোর্স 3। আপনি এটা নিজের সার্ভারেও চালাতে পারেন Source 3সোর্স 3। Apify Store-এ রেডিমেড পাবলিক Actor আছে Source 2সোর্স 2।

How a tester uses it

Data for a load test. A load test needs many different users, not one user ten thousand times. Make the base rows with Faker Source 6সোর্স 6, then let a batch job add realistic text fields in a fixed schema Source 4সোর্স 4 Source 5সোর্স 5. Feed the file to your load script. The k6 module shows how to use a data file in a test.

Edge cases for every row. Ask the model to add hard variants to each base row: a very long name, a name with accents, an address with no postal code. A schema field such as variant_reason keeps the reason next to the data Source 5সোর্স 5.

A corpus of real pages. If your app parses or searches web content, collect a set of public pages as clean Markdown with Firecrawl Source 3সোর্স 3 or an Apify Actor Source 2সোর্স 2. Save the files in the repo, so tests do not depend on the live web.

Testing an enrichment feature. If your product has a waterfall like Clay, test the order of the providers and what happens when one returns nothing Source 1সোর্স 1.

Tutorial advice

This is the tutorial's own advice. Never enrich test data with real customer records. Start from synthetic rows, keep the seed and the prompt in the repo, and check the terms of a website before you collect its pages.

সহজ English

Data for a load test. A load test needs many different users, not one user ten thousand times. Make the base rows with Faker Source 6সোর্স 6. Then let a batch job add realistic text fields in a fixed schema Source 4সোর্স 4 Source 5সোর্স 5. Give the file to your load script. The k6 module shows how to use a data file in a test.

Edge cases for every row. Ask the model to add hard variants to each base row. Examples are a very long name, a name with accents, and an address with no postal code. A schema field such as variant_reason keeps the reason next to the data Source 5সোর্স 5.

A set of real pages. Your app may read or search web content. Then collect a set of public pages as clean Markdown with Firecrawl Source 3সোর্স 3 or an Apify Actor Source 2সোর্স 2. Save the files in the repo. Then tests do not depend on the live web.

Testing an enrichment feature. Your product may have a waterfall like Clay. Then test the order of the providers. Test what happens when one provider returns nothing Source 1সোর্স 1.

This is the tutorial's own advice. Never enrich test data with real customer records. Start from fake rows. Keep the seed and the prompt in the repo. Check the terms of a website before you collect its pages.

বাংলা ব্যাখ্যা

Load test-এর ডেটা। একটা load test-এ অনেক আলাদা ইউজার লাগে, একই ইউজার দশ হাজার বার নয়। Faker দিয়ে মূল সারি বানান Source 6সোর্স 6। তারপর একটা batch কাজ দিয়ে নির্দিষ্ট schema-তে বাস্তবসম্মত টেক্সট ফিল্ড যোগ করান Source 4সোর্স 4 Source 5সোর্স 5। ফাইলটা আপনার load script-কে দিন। একটা টেস্টে ডেটা ফাইল কীভাবে ব্যবহার করবেন, তা k6 module-এ দেখুন।

প্রতিটা সারিতে edge case। মডেলকে প্রতিটা মূল সারিতে কঠিন রূপ (variant) যোগ করতে বলুন। যেমন খুব লম্বা নাম, accent-সহ নাম, postal code ছাড়া ঠিকানা। variant_reason-এর মতো একটা schema ফিল্ড কারণটা ডেটার পাশে রাখে Source 5সোর্স 5।

আসল পেজের সংগ্রহ। আপনার অ্যাপ যদি ওয়েব কনটেন্ট পড়ে বা সার্চ করে, তাহলে Firecrawl Source 3সোর্স 3 বা একটা Apify Actor Source 2সোর্স 2 দিয়ে কিছু পাবলিক পেজ পরিষ্কার Markdown হিসেবে সংগ্রহ করুন। ফাইলগুলো repo-তে রাখুন। তাহলে টেস্ট লাইভ ওয়েবের ওপর নির্ভর করবে না।

Enrichment ফিচার টেস্ট করা। আপনার প্রোডাক্টে যদি Clay-এর মতো waterfall থাকে, প্রোভাইডারদের ক্রম টেস্ট করুন। একটা প্রোভাইডার কিছু না দিলে কী হয়, সেটাও টেস্ট করুন Source 1সোর্স 1।

এটা টিউটোরিয়ালের নিজের পরামর্শ। কখনো আসল কাস্টমারের রেকর্ড দিয়ে টেস্ট ডেটা enrich করবেন না। নকল সারি দিয়ে শুরু করুন। Seed আর প্রম্পট repo-তে রাখুন। কোনো ওয়েবসাইটের পেজ সংগ্রহের আগে তার শর্তাবলি (terms) দেখে নিন।

Tools to try

ToolWhat it doesOne fact
ClayEnrich table rows from data providersA waterfall uses several providers in a set order Source 1সোর্স 1
ApifyRun scraping and browser automation in the cloudPublic Actors are in Apify Store Source 2সোর্স 2
FirecrawlTurn websites into Markdown or structured dataIt can be self-hosted Source 3সোর্স 3
FakerMake fake but realistic base rowsA fixed seed gives the same data on each run with the same Faker version Source 7সোর্স 7
Claude Message BatchesRun thousands of model calls at onceUp to 100,000 requests in one batch Source 4সোর্স 4

সহজ English

বাংলা ব্যাখ্যা

  • Clay: ডেটা প্রোভাইডার থেকে টেবিলের সারি enrich করে। একটা waterfall নির্দিষ্ট ক্রমে একাধিক প্রোভাইডার ব্যবহার করে Source 1সোর্স 1।
  • Apify: ক্লাউডে scraping আর browser automation চালায়। পাবলিক Actor-গুলো Apify Store-এ আছে Source 2সোর্স 2।
  • Firecrawl: ওয়েবসাইটকে Markdown বা structured data-তে রূপ দেয়। আপনি এটা নিজের সার্ভারে চালাতে পারেন Source 3সোর্স 3।
  • Faker: নকল কিন্তু বাস্তবসম্মত মূল সারি বানায়। একই Faker version হলে একটা নির্দিষ্ট seed প্রতিবার একই ডেটা দেয় Source 7সোর্স 7।
  • Claude Message Batches: একসাথে হাজার হাজার মডেল কল চালায়। একটা batch-এ সর্বোচ্চ 100,000 রিকুয়েস্ট থাকে Source 4সোর্স 4।

Common mistakes

  • Real personal data in test sets. Fix: generate synthetic rows with a tool such as Faker Source 6সোর্স 6, and enrich only those.
  • Data that changes on every run. A failing test is hard to debug when the data is new each time. Fix: set a seed Source 7সোর্স 7, and save the enriched file in the repo.
  • Free text that breaks the parser. Fix: use structured outputs, so each response follows your JSON schema Source 5সোর্স 5.
  • Matching batch results by position. Batch results can come back in any order Source 4সোর্স 4. Fix: give each request a custom_id and join on it Source 4সোর্স 4.
  • No check after enrichment. A model can add a plausible but wrong value. Fix: validate every row with rules (formats, ranges, required fields), and review a random sample by hand.

সহজ English

  • Real personal data in test sets. Fix: make fake rows with a tool such as Faker Source 6সোর্স 6. Enrich only those.
  • Data that changes on every run. A failing test is hard to debug when the data is new each time. Fix: set a seed Source 7সোর্স 7. Save the enriched file in the repo.
  • Free text that breaks the parser. Fix: use structured outputs. Then each response follows your JSON schema Source 5সোর্স 5.
  • Matching batch results by position. Batch results can come back in any order Source 4সোর্স 4. Fix: give each request a custom_id. Match the results on it Source 4সোর্স 4.
  • No check after enrichment. A model can add a value that looks right but is wrong. Fix: check every row with rules, such as formats, ranges, and required fields. Look at a random sample by hand.

বাংলা ব্যাখ্যা

  • টেস্ট সেটে আসল ব্যক্তিগত ডেটা। সমাধান: Faker-এর মতো টুল দিয়ে নকল সারি বানান Source 6সোর্স 6। শুধু সেগুলোই enrich করুন।
  • প্রতি রানে বদলে যাওয়া ডেটা। প্রতিবার ডেটা নতুন হলে একটা ফেইল করা টেস্ট ডিবাগ করা কঠিন। সমাধান: একটা seed সেট করুন Source 7সোর্স 7। Enrich করা ফাইলটা repo-তে রাখুন।
  • এমন free text যা পার্সার ভেঙে দেয়। সমাধান: structured outputs ব্যবহার করুন। তখন প্রতিটা উত্তর আপনার JSON schema মেনে চলে Source 5সোর্স 5।
  • অবস্থান দেখে batch-এর ফলাফল মেলানো। Batch-এর ফলাফল যেকোনো ক্রমে আসতে পারে Source 4সোর্স 4। সমাধান: প্রতিটা রিকুয়েস্টে একটা custom_id দিন এবং সেটা দিয়ে মেলান Source 4সোর্স 4।
  • Enrichment-এর পরে কোনো চেক নেই। একটা মডেল দেখতে ঠিক কিন্তু আসলে ভুল একটা মান যোগ করতে পারে। সমাধান: নিয়ম দিয়ে প্রতিটা সারি যাচাই করুন, যেমন ফরম্যাট, সীমা আর আবশ্যিক ফিল্ড। এলোমেলো কিছু নমুনা হাতে দেখুন।

How to start

  1. Write down the fields that your test needs and the rules for each field (format, range, required).
  2. Generate 100 base rows with Faker and a fixed seed Source 7সোর্স 7.
  3. Write one prompt that enriches one row, with a JSON schema for the answer Source 5সোর্স 5. Try it on 10 rows and read every result.
  4. Run the same prompt on all rows as a batch, with the row ID as the custom_id Source 4সোর্স 4.
  5. Validate the rows, save the file in the repo, and use it in one test.

সহজ English

  1. Write down the fields that your test needs. Write the rules for each field: format, range, and required or not.
  2. Make 100 base rows with Faker and a fixed seed Source 7সোর্স 7.
  3. Write one prompt that enriches one row, with a JSON schema for the answer Source 5সোর্স 5. Try it on 10 rows. Read every result.
  4. Run the same prompt on all rows as a batch. Use the row ID as the custom_id Source 4সোর্স 4.
  5. Check the rows. Save the file in the repo. Use it in one test.

বাংলা ব্যাখ্যা

  1. আপনার টেস্টে যে ফিল্ডগুলো লাগে আর প্রতিটা ফিল্ডের নিয়ম (ফরম্যাট, সীমা, আবশ্যিক কিনা) লিখে ফেলুন।
  2. একটা নির্দিষ্ট seed দিয়ে Faker থেকে 100টা মূল সারি বানান Source 7সোর্স 7।
  3. একটা প্রম্পট লিখুন যা একটা সারি enrich করে, উত্তরের জন্য একটা JSON schema-সহ Source 5সোর্স 5। 10টা সারিতে চালিয়ে প্রতিটা ফলাফল পড়ুন।
  4. একই প্রম্পট সব সারিতে একটা batch হিসেবে চালান। সারির ID-কে custom_id হিসেবে দিন Source 4সোর্স 4।
  5. সারিগুলো যাচাই করুন, ফাইলটা repo-তে রাখুন, আর একটা টেস্টে ব্যবহার করুন।

Key words

WordMeaning
Data enrichmentAdding new fields to many existing records from another source (the tutorial's own definition)
WaterfallSeveral data providers asked in a set order Source 1সোর্স 1
ActorAn Apify cloud program that runs a task such as web scraping Source 2সোর্স 2
Message batchA group of model requests that runs asynchronously Source 4সোর্স 4
Structured outputA model response that follows a given JSON schema Source 5সোর্স 5
SeedA fixed start value that makes generated data the same on each run (same Faker version, no relative-date methods) Source 7সোর্স 7

Reels on this topicএই টপিকের রিলস

Short videos from other creators, picked for this topic. They are not part of this page's fact-checked text. Nothing loads from YouTube until you press Play.অন্য ক্রিয়েটরদের বানানো ছোট ভিডিও, এই টপিকের জন্য বাছাই করা। এগুলো এই পেজের ফ্যাক্ট-চেক করা লেখার অংশ নয়। চালান বাটন চাপার আগে YouTube থেকে কিছুই লোড হয় না।

  1. [1]
    Waterfalls

    Clay docs · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  2. [2]
    Actors

    Apify docs · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  3. [3]
    Introduction

    Firecrawl docs · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  4. [4]
    Batch processing

    Anthropic (Claude Platform docs) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  5. [5]
    Structured outputs

    Anthropic (Claude Platform docs) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  6. [6]
    Getting Started

    Faker docs · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  7. [7]
    Usage

    Faker docs · accessed 2026-10-28দেখা হয়েছে: 2026-10-28