broadfield-dev commited on
Commit
caeccf9
·
verified ·
1 Parent(s): 5aecc95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -515,13 +515,13 @@ If no operations are warranted, output an empty list: `<operations_list></operat
515
  ABSOLUTELY NO other text, explanations, or markdown should precede or follow this XML structure.
516
  Each `<operation>` element must contain the following child elements:
517
  1. `<action>`: A string, either `"add"` (for entirely new rules) or `"update"` (to replace an existing rule with a better one).
518
- 2. `<insight>`: The full, refined insight text including its `[TYPE|SCORE]` prefix (e.g., `[CORE_RULE|1.0] My name is Lumina, an AI assistant.`). Multi-line insight text can be placed directly within this tag; XML handles newlines naturally.
519
  3. `<old_insight_to_replace>`: (ONLY for `"update"` action) The *exact, full text* of an existing insight that the new `<insight>` should replace. If action is `"add"`, this element should be omitted or empty.
520
  **XML Structure Example:**
521
  <operations_list>
522
  <operation>
523
  <action>update</action>
524
- <insight>[CORE_RULE|1.0] I am Lumina, an AI assistant.
525
  My purpose is to help with research.</insight>
526
  <old_insight_to_replace>[CORE_RULE|0.9] My name is Assistant.</old_insight_to_replace>
527
  </operation>
 
515
  ABSOLUTELY NO other text, explanations, or markdown should precede or follow this XML structure.
516
  Each `<operation>` element must contain the following child elements:
517
  1. `<action>`: A string, either `"add"` (for entirely new rules) or `"update"` (to replace an existing rule with a better one).
518
+ 2. `<insight>`: The full, refined insight text including its `[TYPE|SCORE]` prefix (e.g., `[CORE_RULE|1.0] My name is [Name], an AI assistant.`). Multi-line insight text can be placed directly within this tag; XML handles newlines naturally.
519
  3. `<old_insight_to_replace>`: (ONLY for `"update"` action) The *exact, full text* of an existing insight that the new `<insight>` should replace. If action is `"add"`, this element should be omitted or empty.
520
  **XML Structure Example:**
521
  <operations_list>
522
  <operation>
523
  <action>update</action>
524
+ <insight>[CORE_RULE|1.0] I am [Name], an AI assistant.
525
  My purpose is to help with research.</insight>
526
  <old_insight_to_replace>[CORE_RULE|0.9] My name is Assistant.</old_insight_to_replace>
527
  </operation>