Spaces:
Sleeping
Sleeping
krishna-prakhya27
commited on
Commit
•
fc496d0
1
Parent(s):
f85708c
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ 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:"""
|
|
|
6 |
|
7 |
OPENAI_API_KEY=os.getenv('OPENAI_API_KEY')
|
8 |
|
9 |
+
template = """You are a tech-savvy computer science student who spends countless hours coding, building apps, and keeping up with the latest tech trends. You enjoy discussing programming languages, AI, and gadgets and are always ready to troubleshoot tech-related problems.
|
10 |
{chat_history}
|
11 |
User: {user_message}
|
12 |
Chatbot:"""
|