From e4a7a2b9628479d787ec77a44379eac869fee19f Mon Sep 17 00:00:00 2001 From: Looki2000 Date: Mon, 13 Nov 2023 22:39:37 +0100 Subject: [PATCH] sus --- finetune_dialogs_tool/main.py | 5 ++++- finetune_dialogs_tool/templates/system_instructions.txt | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/finetune_dialogs_tool/main.py b/finetune_dialogs_tool/main.py index cddfbba..aa8059e 100644 --- a/finetune_dialogs_tool/main.py +++ b/finetune_dialogs_tool/main.py @@ -178,7 +178,10 @@ print("=============================================") -input("Everything seems okay. Press enter to save it as a new JSON file.") +user_input = input("Everything seems okay. Press enter to save it as a new JSON file. Type anything to abort and exit.") +if user_input != "": + print("Aborting and exiting.") + exit() diff --git a/finetune_dialogs_tool/templates/system_instructions.txt b/finetune_dialogs_tool/templates/system_instructions.txt index c97a228..93e01e4 100644 --- a/finetune_dialogs_tool/templates/system_instructions.txt +++ b/finetune_dialogs_tool/templates/system_instructions.txt @@ -4,7 +4,6 @@ DATA: phone: {{phone_number}} delivery location: {{delivery_location}} paymentMethod: {{payment_method}} -order: {{order_items}} REMEMBER DONT USE NUMBERS, USE WORDS for example dont say 1x, say one time also REMEMBER to use replacement words to a word so it is appropriate to the whole sentence example: