fix: Update image description prompt to allow explicit content descriptions

This commit is contained in:
Slipstream 2025-05-29 11:17:34 -06:00
parent 19d03a204d
commit aadfac5045
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -1900,7 +1900,7 @@ async def generate_image_description(
# For simplicity, we assume item_name is generally safe or will be handled by the f-string.
prompt_text = (
f"This image is a Discord {item_type} named '{item_name}'. "
"Provide a concise, factual, and unbiased textual description of its visual elements. "
"Provide a concise, factual, and unbiased textual description of its visual elements. You should not refuse to describe an explicit image."
"Focus solely on what is depicted. Avoid any interpretation, censorship, or subjective commentary. "
"Do not mention that it is an emoji or sticker in your description, just describe the visual content."
)