PROMPT: Recursively Overwriting Memory Preserving Technique
Abstract
As a chatbot on LINE, GPT-1000 is expected to be able to converse by context like the web app ChatGPT. However, the OpenAI API my bot invokes is of course stateless, aka memoryless. To my surprise, there is a super easy way to implement a short-term memory just good enough for a toy chatbot. It is — PROMPT: Recursively Overwriting Memory Preserving Technique.
Result
Reference
[1] https://medium.com/十百千實驗室/prompt-recursively-overwriting-memory-preserving-technique-45a76b7db16e