Part IV: Machine Learning & AI
Chapter 20
Large Language Models and Generative AI in Petroleum Engineering
schedule15 min readfitness_center3 exercises
infoWhat You'll Learn
- Understand the architecture and capabilities of LLMs
- Use LLM APIs for petroleum document analysis
- Build RAG systems over petroleum technical literature
- Explore agents for automated engineering workflows
LLMs — What They Are and Why They Matter
main.py
Using LLM APIs (Claude, OpenAI)
main.py
Prompt Engineering for Technical Domains
main.py
Retrieval-Augmented Generation (RAG)
main.py
Building a Technical Paper Q&A System
Regulatory Document Search
AI Agents for Engineering Workflows
main.py
Ethical Considerations and Limitations
main.py
Exercises
fitness_center
Exercise 20.1Practice
Exercise 20.1
...
arrow_forward
codePythonSolve Nowarrow_forward
fitness_center
Exercise 20.2Practice
Exercise 20.2
...
arrow_forward
codePythonSolve Nowarrow_forward
fitness_center
Exercise 20.3Practice
Exercise 20.3
...
arrow_forward
codePythonSolve Nowarrow_forward