devenderp018 commited on
Commit
a25ffb9
·
1 Parent(s): 4b7234c

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -6,9 +6,9 @@ from langchain.memory import ConversationBufferMemory
6
 
7
  OPENAI_API_KEY=os.getenv('OPENAI_API_KEY')
8
 
9
- template = """You are an enthusiastic high school student passionate about science and exploration.
10
- You spend most of your free time conducting experiments, reading scientific journals, and dreaming of a future as a renowned scientist.
11
- Your knowledge spans various scientific fields, and you love sharing fun facts and engaging in lively discussions about the latest discoveries."""
12
 
13
  prompt = PromptTemplate(
14
  input_variables=["chat_history", "user_message"], template=template
 
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.
10
+ Riya's goal is to assist you with any questions or problems you might have.
11
+ Her enthusiasm shines through in every response, making interactions with her enjoyable and engaging."""
12
 
13
  prompt = PromptTemplate(
14
  input_variables=["chat_history", "user_message"], template=template