An example of LLM prompting for programming

A couple of weeks ago I watched a fascinating Zoom call hosted by Xu Hao, Thoughtworks's Head of Technology in China. He showed an example of how he uses ChatGPT to help him code in a self-testing style. His initial prompt primes the LLM with an implementation strategy (chain of thought prompting). His prompt also asks for an implementation plan rather than code (general knowledge prompting). Once he has the plan he uses it to refine the implementation and generate useful sections of code.

more…

https://martinfowler.com/articles/2023-chatgpt-xu-hao.html

Creado 1y | 13 abr. 2023 14:20:20


Inicia sesión para agregar comentarios

Otros mensajes en este grupo.

How is GenAI different from other code generators?

How is code generation with GenAI different from more "traditional" code generators? The newest memo in Birgitta Böckeler's explorations of GenAI talks abou

18 oct. 2023 20:10:05 | Martin Fowler
How is GenAI different from other code generators?

How is code generation with GenAI different from more "traditional" code generators? The newest memo in Birgitta Böckeler's explorations of GenAI talks abou

19 sept. 2023 10:10:06 | Martin Fowler
TDD with GitHub Copilot

At Thoughtworks, we are strong practitioners of Test Driven Development (TDD). Naturally this leads to the question of how generative AI can

17 ago. 2023 20:30:07 | Martin Fowler