Get the latest tech news
Recursive LLM prompts
Implement recursion using English as the programming language and an LLM as the runtime. - andyk/recursive_llm
In run_recursive_gpt.py we automate this by writing a recursive Python function that repeatedly calls the OpenAI API with each successive prompt until the result satisfies the base case. Another classic CMU AI research project that extensively explored how human brains leverage memorization and computation is called ACT-R. There are also similarities between this work and ReAct (a contraction of Re asoning + Act ion) [ 1][ 2], a "general paradigm" and associated implementation that "...explore[s] the use of LLMs to generate both reasoning traces and task-specific actions...".
Or read this on Hacker News