Comment

Comment by WiSaGaN

The best analogy I can think of is that if you want your agent to accomplish something without persisting a long chat history, but instead use the agent to reorganize and change the prompt, you would choose to use the method Leonard uses in the film "Memento". Due to his condition, Leonard cannot form new memories and struggles to recall events that occur after his injury. Leonard knows his condition and uses tattoos to record facts "between sessions". Each chat completion of the LLM is similar to "each session" Leonard experiences. The prompt, with the help of the agent, can persist across LLM chat completions, which is similar to the tattoos, and various notes and photos he has.
parent WiSaGaN 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton