Skip to content

Commit

Permalink
Updated placeholder text to inform bot about the name of the interface
Browse files Browse the repository at this point in the history
  • Loading branch information
self committed Mar 6, 2023
1 parent aeea427 commit 7b0dd0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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 = ''
Expand Down

0 comments on commit 7b0dd0f

Please sign in to comment.