Update demo.yaml
Browse files
demo.yaml
CHANGED
|
@@ -10,9 +10,6 @@ flow:
|
|
| 10 |
wiki_search:
|
| 11 |
description: "Performs a search on Wikipedia."
|
| 12 |
input_args: [ "search_term" ]
|
| 13 |
-
ddg_search:
|
| 14 |
-
description: "Query the search engine DuckDuckGo."
|
| 15 |
-
input_args: [ "query" ]
|
| 16 |
finish:
|
| 17 |
description: "Signal that the objective has been satisfied, and returns the answer to the user."
|
| 18 |
input_args: [ "answer" ]
|
|
@@ -36,10 +33,7 @@ flow:
|
|
| 36 |
subflows_config:
|
| 37 |
wiki_search:
|
| 38 |
_target_: aiflows.ControllerExecutorFlowModule.WikiSearchAtomicFlow.instantiate_from_default_config
|
| 39 |
-
|
| 40 |
-
_target_: aiflows.LCToolFlowModule.LCToolFlow.instantiate_from_default_config
|
| 41 |
-
backend:
|
| 42 |
-
_target_: langchain.tools.DuckDuckGoSearchRun
|
| 43 |
|
| 44 |
Memory:
|
| 45 |
backend:
|
|
|
|
| 10 |
wiki_search:
|
| 11 |
description: "Performs a search on Wikipedia."
|
| 12 |
input_args: [ "search_term" ]
|
|
|
|
|
|
|
|
|
|
| 13 |
finish:
|
| 14 |
description: "Signal that the objective has been satisfied, and returns the answer to the user."
|
| 15 |
input_args: [ "answer" ]
|
|
|
|
| 33 |
subflows_config:
|
| 34 |
wiki_search:
|
| 35 |
_target_: aiflows.ControllerExecutorFlowModule.WikiSearchAtomicFlow.instantiate_from_default_config
|
| 36 |
+
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
Memory:
|
| 39 |
backend:
|