3 ms·
I'm tempted to build a tool that uses DAGs to orchestrate sequential prompt engineering, but typing that out makes me feel dirty.
by minimaxir 3y ago
I'm tempted to build a tool that uses DAGs to orchestrate sequential prompt engineering, but typing that out makes me feel dirty.
- SgtBastard 3y agoWhy? It’s a good idea…
- SOLAR_FIELDS 3y agoLike a sibling comment said, Langchain is basically this but with a bit of structure around the prompt templating
- CuriouslyC 3y agoYou should check out langchain
- minimaxir 3y agoThe self-iterating prompt engineering is a different workflow than normal RAG/tool selection.
- SOLAR_FIELDS 3y agoDo you mean that the prompts would be completely dynamic in your tool vs the prebuilt prompts with templating that Langchain uses?
- minimaxir 3y agoDynamic, not templated. Or maybe templated at the start of the workflow, but obviously LLMs will have its own ways to adjust it.
- SOLAR_FIELDS 3y agoI would be interested to see if something like this actually produces good results. My (limited) experiences with Langchain made me feel like it was too constraining for the use cases I tried.