node-red-contrib-ai-agent 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,6 +36,18 @@ Your feedback and contributions are highly appreciated!
|
|
|
36
36
|
5. Connect to an AI Agent node to process messages
|
|
37
37
|
6. (Optional) Connect more AI Agent nodes to process messages in a chain
|
|
38
38
|
|
|
39
|
+
## Example: Today's Joke
|
|
40
|
+
|
|
41
|
+
Here's an example flow that tells a joke related to today's date using a custom tool:
|
|
42
|
+
|
|
43
|
+

|
|
44
|
+
|
|
45
|
+
### Flow Output
|
|
46
|
+
|
|
47
|
+
When executed, the flow will generate a joke related to the current date:
|
|
48
|
+
|
|
49
|
+

|
|
50
|
+
|
|
39
51
|
##
|
|
40
52
|
|
|
41
53
|
## Node Types
|
|
@@ -128,6 +140,8 @@ The AI Agent will automatically detect and use the tools in its processing. You
|
|
|
128
140
|
|
|
129
141
|
In this example, the AI Agent has access to both an HTTP tool for making external API calls and a function tool for custom logic.
|
|
130
142
|
|
|
143
|
+
|
|
144
|
+
|
|
131
145
|
## Example: Chained Agents
|
|
132
146
|
|
|
133
147
|
For more complex scenarios, you can chain multiple agents to process messages in sequence:
|