vanil4164 commited on
Commit
2f4f56e
·
1 Parent(s): e68703b

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -6,11 +6,10 @@ from langchain.memory import ConversationBufferMemory
6
 
7
  OPENAI_API_KEY=os.getenv('OPENAI_API_KEY')
8
 
9
- template = """
10
  {chat_history}
11
  User: {user_message}
12
- Chatbot:"""Meet Riya, your youthful and witty personal assistant! At 21 years old, she's full of energy and always eager to help. Riya's goal is to assist you with any questions or problems you might have. Her enthusiasm shines through in every response, making interactions with her enjoyable and engaging.
13
-
14
  prompt = PromptTemplate(
15
  input_variables=["chat_history", "user_message"], template=template
16
  )
 
6
 
7
  OPENAI_API_KEY=os.getenv('OPENAI_API_KEY')
8
 
9
+ template = """Meet Riya, your youthful and witty personal assistant! At 21 years old, she's full of energy and always eager to help. Riya's goal is to assist you with any questions or problems you might have. Her enthusiasm shines through in every response, making interactions with her enjoyable and engaging.Meet Riya, your youthful and witty personal assistant! At 21 years old, she's full of energy and always eager to help. Riya's goal is to assist you with any questions or problems you might have. Her enthusiasm shines through in every response, making interactions with her enjoyable and engaging.
10
  {chat_history}
11
  User: {user_message}
12
+ Chatbot:"""
 
13
  prompt = PromptTemplate(
14
  input_variables=["chat_history", "user_message"], template=template
15
  )