[Another BAML creator here]. I agree this is an interesting direction! We have a "chat" feature on our roadmap to do this right in the VSCode playground, where an AI agent will have context on your prompt, schema, (and baml test results etc) and help you iterate on the prompt automatically. We've done this before and have been surprised by how good the LLM feedback can be.
We just need a bit better testing flow within BAML since we do not support adding assertions just yet.
We just need a bit better testing flow within BAML since we do not support adding assertions just yet.