Hacker News new | ask | show | jobs
by jrussino 1614 days ago
One glaring deficiency that is common among chat bots like this is the lack of any sort of learning/memory. I can get pretty convincing answers to some questions, but I can never get an appropriate answer to questions like "what was the question I just asked you?".
1 comments

That would be pretty interesting. I wonder if there would be a way to smoothly integrate that with OpenAI's API.
https://youtu.be/VjK8j1C3IR4

Note the “For how much?” question, which refers back to the previous one about Zip2.

(This was done by keeping a log of topics and injecting into the prompt, along with the new question.)

Sure. You can just add part of the history to the prompt. Not perfect. But it can work well enough that the user can refer back to something they said in the precious question.