From c6fbba6a4dcb1376c692e0e0c5988cb81d0e6b17 Mon Sep 17 00:00:00 2001 From: Prateek Chhikara <46902268+prateekchhikara@users.noreply.github.com> Date: Thu, 6 Mar 2025 11:57:20 -0800 Subject: [PATCH] Changed multimodal prompt to extract better text from images (#2322) --- mem0/memory/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mem0/memory/utils.py b/mem0/memory/utils.py index 535e9de2..4847f306 100644 --- a/mem0/memory/utils.py +++ b/mem0/memory/utils.py @@ -57,7 +57,7 @@ def get_image_description(image_url): "content": [ { "type": "text", - "text": "Provide a description of the image and do not include any additional text.", + "text": "A user is providing an image. Provide a high level description of the image and do not include any additional text.", }, {"type": "image_url", "image_url": {"url": image_url}}, ],