>> My personal point was just to document my exploration of using prompts to
generate new prompts, and more specifically the case where the prompts contain
state and each recursively generated prompt updates that state to be closer to
an end goal (which in this case I compared to the concept of a base case in
recursion).-
I don't understand what you mean by "state". I think you're using the term too
loosely, like you use "recursion", so loosely that it loses all meaning.
To have state you need to have memory that you can read from and write to. To
have recursion you need memory organised in a specific manner, as a stack.
There's nothing like that in your prompt, or in the setup of the bot that you
interact with. It doesn't "recursively geneate" any "prompt updates", it takes
your prompt, prepends it to its responses and your prompts until now, and
generates a new response. If anything, it produces its responses sequentially,
not recursively.
Anyway you're being rather freewhiling with terminology and I don't
understand what you are trying to say. Are you trying to make the bot compute
a recursive function, or not? Why are you using Fibonacci, if not? Why not
just ask it for Little Red Riding Hood or the Three Little Piggies instead?