From 2f25ca9da1650bbe81859dc4b205a4a7b7c3284c Mon Sep 17 00:00:00 2001 From: thanhtl Date: Wed, 19 Feb 2025 22:06:18 +0700 Subject: [PATCH] Update cell summary.py --- cell summary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cell summary.py b/cell summary.py index 77ec7e5..3357069 100644 --- a/cell summary.py +++ b/cell summary.py @@ -18,7 +18,7 @@ def summarize_text(text): """Send text to Ollama for summarization""" payload = { "model": "mistral:latest", # Change model if needed - "prompt": f"Summarize the following text:\n\n{text}", + "prompt": f"Hãy nêu những ý chính trong nội dung sau:\n\n{text}", "stream": False } response = requests.post(OLLAMA_URL, json=payload)