AI Concepts for Developers

I've been doing some diagrams to explain certain AI app development concepts to my team. Here they are, if they're useful to anyone else. Created using the delightful FigJam app from Figma.

Retrieval-augmented generation (RAG)

Retrieval-augmented generation (RAG) is when an AI looks up information from a database or documents to help it give better, more accurate answers.

Image

Tools/actions

Tools or actions are used to give the LLM access to real-time data or let it perform actions based on user input.

Image