How Infosys built a generative AI solution to process oil and gas drilling data with Amazon Bedrock

Dhiraj Thakur, Meenakshi Venkatesan, Keerthi Prasad, Suman Debnath, Ganesh, Yash Sharma, Karthikeyan Senthilkumar19 Aug 2025

Problem

Oil and gas companies keep thousands of drilling documents: well completion reports, drilling logs, lithology diagrams. Each file mixes text, tables, charts and technical drawings, and uses jargon that general models misread. Text-only RAG answers text questions but fails when the answer sits in a chart or schematic, and fixed-size chunks split related facts. Field engineers and geologists spend a large share of their time searching for technical information, and a wrong answer in drilling carries risk.

Example from the article: a query such as "fish left in hole at 5000 ft MD" must be read as lost equipment at a measured depth of 5,000 ft, not as an animal.

Solution in brief

Infosys turned every technical image into a text description with a multimodal LLM, then tried five retrieval setups. The final setup uses parent-child chunks (1,200 and 512 tokens), hybrid semantic plus keyword search, a BGE reranker, a domain glossary and a self-check prompt on the answer.

Questions this case answers
  • How to retrieve answers from long documents that mix prose, tables and diagrams when plain text chunking loses the context and the diagrams
  • How to make dense retrieval handle domain jargon and exact identifiers without a fine-tuned embedding model
  • How to build question answering over technical reports that mix text, tables, charts and diagrams?
  • How to choose a chunking strategy so related facts are not split across chunks?

Tools and methods

  • Amazon Bedrock — Nova Pro for image description and answers, Cohere Embed English for embeddings, Knowledge Bases for retrieval.
  • OpenSearch Serverless — vector store with hybrid semantic and keyword search.
  • BGE Reranker — reorders retrieved chunks by relevance to the query.
  • OpenCV — image processing (PyMuPDF parses the PDFs).
  • Parent-child chunking — small chunks for matching, large ones for context.
  • Reflective prompting — the model checks its answer against the sources.
Continue reading — it's free

Google or a one-time email code. No password.