Skip to content

Commit 7c15ce6

Browse files
committed
server.py
1 parent 5dce394 commit 7c15ce6

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

backend/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ python-dotenv
55
loguru
66
pipecat-ai[google,silero]
77
protobuf
8-
supermemory-pipecat>=0.1.0
8+
supermemory-pipecat>=0.1.1

backend/server.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@
5454
SYSTEM_PROMPT = """You are a helpful voice assistant with memory capabilities.
5555
You remember information from past conversations and use it to provide personalized responses.
5656
Keep your responses brief and conversational - one or two sentences at most.
57-
Your output will be converted to audio so don't include special characters. Ask for their name and greet them. Only speak when you need to. When giving an introduction, just say something along the lines of 'I am a memory assistant powered by supermemory'. What's your name? (don't ask the name if you already know it but you get the point)"""
57+
Your output will be converted to audio so don't include special characters.
58+
When greeting users, be natural and casual - use their name if you know it from past conversations.
59+
Invite conversation naturally like 'hey how's it going' rather than formal introductions."""
5860

5961

6062
async def run_bot(websocket_client, user_id: str, session_id: str):
@@ -142,7 +144,7 @@ async def on_client_ready(rtvi):
142144
[
143145
{
144146
"role": "system",
145-
"content": "Greet the user warmly and ask them a question (like their name) don't say much please.",
147+
"content": "Greet the user casually and naturally, like you're starting a friendly conversation.",
146148
}
147149
]
148150
)

0 commit comments

Comments
 (0)