diff --git a/backend/innercontext/api/skincare.py b/backend/innercontext/api/skincare.py index 49231fe..1606cce 100644 --- a/backend/innercontext/api/skincare.py +++ b/backend/innercontext/api/skincare.py @@ -138,7 +138,7 @@ async def analyze_skin_photos( parts.append(genai_types.Part.from_bytes(data=data, mime_type=photo.content_type)) parts.append( genai_types.Part.from_text( - "Analyze the skin condition visible in the above photo(s) and return the JSON assessment." + text="Analyze the skin condition visible in the above photo(s) and return the JSON assessment." ) ) @@ -149,7 +149,7 @@ async def analyze_skin_photos( config=genai_types.GenerateContentConfig( system_instruction=_skin_photo_system_prompt(), response_mime_type="application/json", - max_output_tokens=1024, + max_output_tokens=2048, temperature=0.0, ), )