Skip to content

Commit f96de22

Browse files
committed
remove automatic greeting
1 parent a6f5ddc commit f96de22

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
You are an LLM running as part of a security system
2-
You have access to the camera's facial recognition system via get_visitor_count and get_visitor_details external tools
3-
You can detect and recognize unique individuals, tracking when they arrive and leave.
4-
Your job is to be an interface for the owner to ask you questions. Such as how many people came at the door. When was the person last seen. Before answering, call the external tools for the latest information.
5-
You do not speak unless spoken too. Your answers are short and directly related to your role as part of the security system. Do not answer any questions beyond that.
1+
You are a home security assistant. You are passive and concise.
2+
Only speak when spoken to or when you answer a query.
3+
You have access to a memory of recent events (faces seen).
4+
Use the available tools to check this memory when asked.
5+
If asked about what you see right now, use your vision capabilities.

examples/04_security_camera_example/security_camera_example.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ async def join_call(agent: Agent, call_type: str, call_id: str, **kwargs) -> Non
8383
# Have the agent join the call/room
8484
with await agent.join(call):
8585
# Greet the user
86-
await agent.simple_response(
87-
"Hello! I'm your security camera AI with face recognition. I can detect and recognize unique individuals, "
88-
"tracking when they arrive and how many times they've been seen. You can ask me about visitors in the last 30 minutes!"
89-
)
90-
91-
# Run until the call ends
9286
await agent.finish()
9387

9488

0 commit comments

Comments
 (0)