Generative AI Pattern Library Prompt Enrichment Finetuning Agents Code Interpreter Knowledge Representation