diff options
author | altaf-creator <dev@altafcreator.com> | 2025-06-30 21:16:47 +0800 |
---|---|---|
committer | altaf-creator <dev@altafcreator.com> | 2025-06-30 21:16:47 +0800 |
commit | e54a409c8f4d955ddda3f3d04bb821743a995489 (patch) | |
tree | 6db3bab8120870717e483c0ec97b64e04226b346 /backend | |
parent | 7d9b5febf2ee66f78d39a3c6a6d874131054ba3e (diff) |
new prompt
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ai.py | 8 | ||||
-rw-r--r-- | backend/alvl.jpg | bin | 107082 -> 0 bytes | |||
-rw-r--r-- | backend/game_simpliCity_main.png | bin | 1522731 -> 0 bytes | |||
-rw-r--r-- | backend/main.py (renamed from backend/ai-vision.py) | 2 |
4 files changed, 1 insertions, 9 deletions
diff --git a/backend/ai.py b/backend/ai.py deleted file mode 100644 index 1e63b94..0000000 --- a/backend/ai.py +++ /dev/null @@ -1,8 +0,0 @@ -from google import genai - -client = genai.Client(api_key="AIzaSyA-mA7v4xlbEAz80uKf3Dywpbeh9ZfpLMs") - -response = client.models.generate_content( - model="gemini-2.0-flash", contents="Explain how AI works in a few words" -) -print(response.text) diff --git a/backend/alvl.jpg b/backend/alvl.jpg Binary files differdeleted file mode 100644 index cd35987..0000000 --- a/backend/alvl.jpg +++ /dev/null diff --git a/backend/game_simpliCity_main.png b/backend/game_simpliCity_main.png Binary files differdeleted file mode 100644 index e31067c..0000000 --- a/backend/game_simpliCity_main.png +++ /dev/null diff --git a/backend/ai-vision.py b/backend/main.py index 866bcb8..128485f 100644 --- a/backend/ai-vision.py +++ b/backend/main.py @@ -31,7 +31,7 @@ def yeah_flask(): ) ) - contents.append("Please summarise the following content make it concise but detailed, organised into a mind map, structured with clear hierarchy, where each item is first prefixed and just prefixed with a > times depth, where depth starts at 1. For example, a sub item would be \">> subitem\". Do not start or end your message with an approval message, start immediately with the content requested. Absolutely do not add any blank lines, and do not add spaces after the '>' prefix. Do not add numbers after the '>' prefix.") + contents.append("Please summarise the following content. Make it concise, but detailed (this is a priority), organised into a mind map, structured with clear hierarchy, where each item is first prefixed and just prefixed with a > times depth, where depth starts at 1. For example, a sub item would be \">> subitem\". Do not start or end your message with an approval message, start immediately with the content requested. Absolutely do not add any blank lines, and do not add spaces OR numbering after the '>' prefix.") response = client.models.generate_content( model="gemini-2.0-flash", |