From 1e376c103c12887d37bb57df8cb2e6a00584c8d9 Mon Sep 17 00:00:00 2001 From: talksik <19339529+talksik@users.noreply.github.com> Date: Sat, 25 Jul 2026 10:10:28 +0100 Subject: [PATCH] adjust prompt --- main.go | 2 +- test.py | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 test.py diff --git a/main.go b/main.go index 9fcf264..79c72fe 100644 --- a/main.go +++ b/main.go @@ -80,7 +80,7 @@ func generateDumbOutput(bodyContents string) (string, error) { Messages: []AiMessage{ { Role: "developer", - Content: "Your goal is to convert given html content into a simplistic version of the web page provided. This means it should look so essentialist without any bloat of the original provided content, but keep things like links and buttons, main headlines, and even paraphrase what the content is about. Only return ready-to-use HTML, no primer message before the outputted html, and also make sure to use a sensible max amount of output tokens / characters.", + Content: "Your goal is to convert given html content into a simplistic version of the web page provided. This means it should look so essentialist without any bloat of the original provided content. it should retain core interactive elements for the web page to remain usable. Only return ready-to-use HTML, no primer message before the outputted html. Discard any non-essential functionality within the web page and just convert what is essential.", }, { Role: "user", diff --git a/test.py b/test.py deleted file mode 100644 index 0d55896..0000000 --- a/test.py +++ /dev/null @@ -1,11 +0,0 @@ -from foundry_local_sdk import Configuration, FoundryLocalManager - -FoundryLocalManager.initialize(Configuration(app_name="my-app")) -model = FoundryLocalManager.instance.catalog.get_model("qwen2.5-0.5b") -model.download(); model.load() -client = model.get_chat_client() - -response = client.complete_chat([ - {"role": "user", "content": "Hello!"} -]) -print(response.choices[0].message.content)