added

Image Content Awareness in chatbot/v3/response

The chatbot is now able to recognize and reference previous image content in conversations. This allows for more meaningful and contextual discussions around generated images.

To activate this feature, you need to pass an image_prompt alongside message to our API

Before the feature

# CONTEXT

{
  "message": "Hello, I am Anna. I grow vegetables and fruits.",
  "turn": "bot"
  #   "image_prompt": "Woman near a huge pumpkin",    
},
{
  "message": "Hey, I'm John! Oh, what's that?",
  "turn": "user"
}

# RESPONSE

(
  "Oh, that's just a few ripe tomatoes that have fallen off the vine. "
  " They're ready to eat straight from the plant! Would you like one?"
)

Now, when passing image_prompt

# CONTEXT

{
  "message": "Hello, I am Anna. I grow vegetables and fruits.",
  "image_prompt": "Woman near a huge pumpkin",    
  "turn": "bot"
},
{
  "message": "Hey, I'm John! Oh, what's that?",
  "turn": "user"
}

# RESPONSE

(
  "Ah, that's my prized pumpkin! It's a delight to see it growing so "
  " well on our farm. What brings you by today, John?"
)