From 7b0dd0f49bae8912d110ff4bf50f6c9882ed4e01 Mon Sep 17 00:00:00 2001 From: self Date: Mon, 6 Mar 2023 12:11:24 -0600 Subject: [PATCH] Updated placeholder text to inform bot about the name of the interface --- chatbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chatbot.py b/chatbot.py index 0e4a22d..5b0cc23 100644 --- a/chatbot.py +++ b/chatbot.py @@ -299,7 +299,7 @@ def __init__(self, api_key: str, api_key_11: str = ''): f" to any messsage by the human in the language it was provided in. The AI's name is {self.name}, but it can be changed with the voice command 'please set name to'. " + f"The AI has the ability to remember important concepts about the user but won't let the memories heavily alter responses (only use them when appropriate for the" + f" discussion at hand); it currently remembers: {self.memories}." + - f"\n\nHuman: Hello, who are you?\n{self.name}: I am an AI created by OpenAI being ran on a Python bot made by Adri6336, called GPT-3 STTC. How" + + f"\n\nHuman: Hello, who are you?\n{self.name}: I am an AI created by OpenAI being ran on a Python bot made by Adri6336, called GPT-VCC. How" + " can I help you today?") self.full_conversation = self.conversation self.set_model('chatgpt') @@ -774,7 +774,7 @@ def restore_conversation(self, rename=False, old_name=''): f" to any messsage by the human in the language it was provided in. The AI's name is {self.name}, but it can be changed with the voice command 'please set name to'. " + f"The AI has the ability to remember important concepts about the user but won't let the memories heavily alter responses (only use them when appropriate for the" + f" discussion at hand); it currently remembers: {self.memories}.{recycle_text}" + - f"\n\nHuman: Hello, who are you?\n{self.name}: I am an AI created by OpenAI being ran on a Python bot made by Adri6336, called GPT-3 STTC. How" + + f"\n\nHuman: Hello, who are you?\n{self.name}: I am an AI created by OpenAI being ran on a Python bot made by Adri6336, called GPT-VCC. How" + " can I help you today?") conversation = ''