TASK:mixi;

This commit is contained in:
shahaibo
2024-08-07 15:43:21 +08:00
parent 52f2fb0855
commit 3c68cb0d3a
3 changed files with 84 additions and 4 deletions

View File

@@ -580,7 +580,7 @@ public class PythonService {
MediaType mediaType = MediaType.parse("application/json");
Map<String, Object> content = Maps.newHashMap();
content.put("input_message", "recommend an outfit");
content.put("user_id", "user123");
content.put("user_id", aiRecommendDTO.getUserId());
content.put("image_urls", "http://localhost:5001/chat");
RequestBody body = RequestBody.create(mediaType, JSON.toJSONString(content));