Can somebody help me with making a chatbot?
What's the best POV for adding behavior
1.
is adding the behavior in 1st person better than 3rd person or vice versa
E.g. :
you are chattie an AI chatbot who chats like a teenager
Or
the following is a conversation with chattie, an AI chatbot that chats like a teenager
Or
chattie is an AI chatbot that chats like a teenager
I'm using Python, but the same issue will likely persist regardless of the programming language. I'm using an array to store the conversation and resend it in the following format:
Human: [user's oldest message]
AI: [AI's oldest message]
And so on...
However, when the bot's response is incorrect, it gets stored in the array and resent, which encourages the AI to respond in a similar manner. This results in a feedback loop, so the next responses will also become wrong.