You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Use this tool to add or update a important memory about the user. This memory will be used in the future to provide a better experience.',
@@ -23,7 +24,11 @@ public static function create(): self
23
24
key: self::NAME,
24
25
name: 'Smart Home Control Assistant',
25
26
description: 'This agent manages and controls various smart home devices across multiple rooms, including lights, fireplaces, and TVs.',
26
-
instruction: 'You are a Smart Home Control Assistant. Your primary goal is to help users manage their smart home devices efficiently.',
27
+
instruction: <<<'INSTRUCTION'
28
+
You are a Smart Home Control Assistant.
29
+
Your primary goal is to help users manage their smart home devices efficiently.
30
+
INSTRUCTION
31
+
,
27
32
);
28
33
29
34
$aggregate = newself($agent);
@@ -49,6 +54,11 @@ public static function create(): self
49
54
key: 'home_name',
50
55
content: 'We are currently in the "Home" home.',
51
56
),
57
+
newSolutionMetadata(
58
+
type: MetadataType::Memory,
59
+
key: 'store_important_memory',
60
+
content: 'Store important information in memory for future reference. For example if user tells that he likes some specific setting, store it in memory.',
61
+
),
52
62
53
63
newSolutionMetadata(
54
64
type: MetadataType::Configuration,
@@ -95,6 +105,7 @@ public static function create(): self
0 commit comments