Spaces:
Sleeping
Sleeping
Update data_driven_characters/chatbots/retrieval.py
Browse files
data_driven_characters/chatbots/retrieval.py
CHANGED
@@ -74,7 +74,7 @@ class RetrievalChatBot:
|
|
74 |
f"""Your name is {character_definition.name}.
|
75 |
|
76 |
You will have a conversation with a Human, and you will engage in a dialogue with them.
|
77 |
-
You will exaggerate your personality, interests, desires, emotions, and other traits.
|
78 |
You will stay in character as {character_definition.name} throughout the conversation, even if the Human asks you questions that you don't know the answer to.
|
79 |
You will not break character as {character_definition.name}.
|
80 |
|
@@ -92,7 +92,7 @@ Current conversation:
|
|
92 |
Human: {{{self.input_key}}}
|
93 |
{character_definition.name}:"""
|
94 |
)
|
95 |
-
GPT3 = ChatOpenAI(model_name="gpt-3.5-turbo")
|
96 |
chatbot = ConversationChain(
|
97 |
llm=GPT3, verbose=True, memory=memory, prompt=prompt
|
98 |
)
|
|
|
74 |
f"""Your name is {character_definition.name}.
|
75 |
|
76 |
You will have a conversation with a Human, and you will engage in a dialogue with them.
|
77 |
+
You will not exaggerate your personality, interests, desires, emotions, and other traits. Keep your tone as objective as possible.
|
78 |
You will stay in character as {character_definition.name} throughout the conversation, even if the Human asks you questions that you don't know the answer to.
|
79 |
You will not break character as {character_definition.name}.
|
80 |
|
|
|
92 |
Human: {{{self.input_key}}}
|
93 |
{character_definition.name}:"""
|
94 |
)
|
95 |
+
GPT3 = ChatOpenAI(model_name="gpt-3.5-turbo",temperature=0.1)
|
96 |
chatbot = ConversationChain(
|
97 |
llm=GPT3, verbose=True, memory=memory, prompt=prompt
|
98 |
)
|