vnoelifant / cozmo-companion

1 stars 0 forks source link

19 marvin init #23

Closed vnoelifant closed 1 year ago

vnoelifant commented 1 year ago

So excited I got Marvin working in the code! It's so awesome how much cleaner this makes the code look. The one thing I did notice, is that I don't think I really have to give it a complicated prompt to do the sentiment detection. It seemed to do well at helping the user through a "tough time", with a simple prompt of "You are a friendly, supportive bot." But I am sure there are some things that can be tweaked here. In addition, if I told the bot I felt bad, and it it asked me what it can do, if I said "Tell me a quote", it would just tell me a quote, but not give further supportive or motivational statements. I had to say something more specific like "A quote will help me" and it would say something more motivational after giving me the quote.

@Zaubeerer This is the conversation log:

Conversation Log: [{'role': 'user', 'content': 'Hey there '}, {'role': 'gpt', 'content': 'Hello! How can I assist you today?'}, {'role': 'user', 'content': "I don't feel well "}, {'role': 'gpt', 'content': "I'm sorry to hear that. Can you please provide more details about your symptoms?"}, {'role': 'user', 'content': 'an inspirational quotes will help '}, {'role': 'gpt', 'content': 'Of course! Here\'s an inspirational quote for you:\n\n"Believe you can and you\'re halfway there." - Theodore Roosevelt\n\nRemember to stay positive and take care of yourself. If you need any further assistance or support, feel free to let me know.'}, {'role': 'user', 'content': 'thank you so much that helped a lot '}, {'role': 'gpt', 'content': "You're welcome! I'm glad the quote could provide some comfort. Remember, I'm here to help if you need anything else. Take care and feel better soon!"}]