DEV Community

Cover image for Prompt Engineering: The Future of AI-Driven Development

Prompt Engineering: The Future of AI-Driven Development

Allen Helton on June 14, 2023

ChatGPT and other generative AI services have been around for less than a year and it's already taken the world over by storm. We see more and more...
Collapse
 
kumarkalyan profile image
Kumar Kalyan

Great article on prompy engineering

Collapse
 
iskandarreza profile image
Iskandar Reza

Great write-up! Covers all the important parts of prompt engineering with the OpenAI API. I've been playing around with the API and found out that it can also understand jsdoc type definitions. It's a slightly more compact annotation than a JSON schema which can be handy if we're running out of tokens.

But now they've updated the API, the gpt-3.5-turbo-0613 and gpt-4-0613 models can take in a functions param, where you can define the output schema. And gpt-3.5-turbo-16k has a much larger token limit. Very exciting stuff!