Automatic Prompt Expansion/Optimization

Hi there!

I’m very interested in Agents… this curiosity led me to think about how I could try to automatically optimize/expand a prompt for a task (with some functionality, e.g. sequence of steps in a task is mandatory).

The basic idea is to use the OpenAI API to make targeted requests from the starting prompt: nothing new, I think.

The result is a GitHub repository with little code… if anyone is interested…

n.b. After the run this code exceeded the 10k token/min and go down… :confused:

1 Like

If anyone is interested, I wrote an article about it on my blog: https://ingegnerealbano.com/prompt-expansion-con-openai-potrebbe-essere-una-nuova-idea/

Thx in advance :slight_smile: