stagehand icon indicating copy to clipboard operation
stagehand copied to clipboard

Add prompt optimizer

Open filip-michalsky opened this issue 1 month ago • 0 comments

We should explore a prompt optimizer to help users succeed if they prompt somewhat incorrectly.

This is a general idea on stagehand functionality. It may cause it to be more opinionated but users may see more success if the LLM chooses better actions when the users prompt has been improved.

Could even be a flag optimize_prompt=True

example: https://github.com/stanfordnlp/dspy

filip-michalsky avatar Jan 04 '25 15:01 filip-michalsky