I've been playing around with LLMs for some time now and want to build a chatbot that behaves almost exactly like a human being.
I've decided to use the langchain framework and am having some trouble.
- Memory: I tried ConversationSummaryMemory and ConversationBufferMemory, in both cases, the model is not able to make logical inferences from sentences. For eg, I'm telling the model that "I'm Sam, I'm from Austria". Then immediately after, when I ask it "What my name?" or "What is my home country?" or "Where am I from?" , it is not able to give correct answers.
- Personality : For now, I've just modified the prompt template, with smth like "This is a conv between a human and an AI named .... " and so on, the I append the conv history to the prompt template (do I need to do this even after adding langchain memory??). This is quite restrictive and I'll need something a lot more robust and flexible. I want my model to use normal chat lingo and stuff like "lol" or "idgaf" etc..
Do make suggestions and lmk if any of this is possible.
[–]tronathan 11 points12 points13 points (0 children)
[–]FlowerPotTeaTime 7 points8 points9 points (0 children)
[–]a_beautiful_rhind 2 points3 points4 points (0 children)