Added better prompt
All checks were successful
Run Tox Check / tox-py312 (pull_request) Successful in 16s
Run Tox Check / tox-pep8 (pull_request) Successful in 15s

This commit is contained in:
2026-03-04 11:08:07 +00:00
parent 2b2df92bcf
commit 38b12b83c5

View File

@ -87,6 +87,7 @@ def generate_description_with_llm(text, service_title, llm_api_url, model_name,
content_preview = text[:2000].replace("\n", " ")
prompt = (
f"Generate a meta description (40-160 chars) for: {service_title}."
f"This is a service from T Cloud Public, do not mention other Cloud Providers."
f"Content preview: {content_preview}."
f"Output ONLY the description text, nothing else."
)