Habeeb13 commited on
Commit
9f99bd3
·
verified ·
1 Parent(s): 80c9e1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,9 +4,9 @@ from langchain.chat_models import ChatOpenAI
4
  from langchain import LLMChain, PromptTemplate
5
  from langchain.memory import ConversationBufferMemory
6
 
7
- OPENAI_API_KEY=os.getenv('OPENAI_API_KEY')
8
 
9
- template = """You are a helpful assistant to answer all user queries.
10
  {chat_history}
11
  User: {user_message}
12
  Chatbot:"""
 
4
  from langchain import LLMChain, PromptTemplate
5
  from langchain.memory import ConversationBufferMemory
6
 
7
+ OPENAI_API_KEY=os.getenv('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')
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.
10
  {chat_history}
11
  User: {user_message}
12
  Chatbot:"""