Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules/response-generator-gemini/app/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def generate_response(reasoner_response):

elif response_type == ResponseType.A:
activity = formulate_advice(response_data['data'][1])
message = f"How about the activity '{activity}', {name}?"
message = generate(f"The user talking to you is {name}. {name} is a diabetes patient. You know a little bit about {name} to help them. Based on their preferences and current situation, you propose the activity {activity}. Explain why it helps them combat diabetes.", sentence_data['sentence'])
# message = f"How about the activity '{activity}', {name}?"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment can be removed?


return message

Expand Down