Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks, Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, Douwe Kiela, 2020Advances in Neural Information Processing Systems, Vol. 33DOI: 10.48550/arXiv.2005.11401 - Introduces the foundational Retrieval-Augmented Generation (RAG) framework, detailing how to combine retrieval with generation for knowledge-intensive tasks.
OpenAI's Prompt engineering guide, OpenAI, 2023 (OpenAI) - Provides general best practices and strategies for designing effective prompts for large language models, including techniques for instructing models to use external context.
Building Systems with the ChatGPT API, Andrew Ng, Isa Fulford, 2023 (DeepLearning.AI) - Provides practical guidance and examples for interacting with large language models, including strategies for structuring prompts and integrating external information like retrieved context.