Ver código fonte

Remove the matcher key from the default options of EventFormattingAgent

It became less important than it had ever been since we got the `regex_extract` filter.
Akinori MUSHA 1 ano atrás
pai
commit
25bca1ce69
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      app/models/agents/event_formatting_agent.rb

+ 2 - 1
app/models/agents/event_formatting_agent.rb

@@ -65,6 +65,8 @@ module Agents
             "1": "10:00 PM EST"
           }
 
+      You could also use the `regex_extract` filter to achieve the same goal.
+
       So you can use it in `instructions` like this:
 
           "instructions": {
@@ -113,7 +115,6 @@ module Agents
           'agent' => "{{agent.type}}",
           'some_other_field' => "Looks like the weather is going to be {{fields.weather}}"
         },
-        'matchers' => [],
         'mode' => "clean",
       }
     end