Open Stevenic opened 1 year ago
Ok. got a version that runs your first example:
[{'role': 'system', 'content': 'The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly.'}, {'role': 'user', 'content': 'hello'}] The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly.
Been using github for ages, but only to clone or to backup my own stuff, totally noob on pull, fork, merge, collab, so I'll need some handholding. Sounds from Steve's most recent post that I should wait for the new version of PromptMemory and integrate that? Then what do I do?
@bdambrosio you're doing great and I think everything is up to date. Everything in this library is on point and I just updated alphawave to include all the changes I was planning. I realize that 2 libraries adds complexity but that's how things best broke down.
Having some trouble with ConversationHistory. I suspect it's because I don't know how to initialize and use it. Do we just keep adding User and Assistant messages to an array stored under history key, assuming that's the key we gave at ConversationHistory constructor time?
https://github.com/Stevenic/promptrix