martinjosifoski
commited on
Commit
•
ba2c90b
1
Parent(s):
cd8c610
Update dependencies (w/o application_flows).
Browse files- .gitignore +4 -1
- ControllerAtomicFlow.py +1 -1
- __init__.py +9 -0
.gitignore
CHANGED
@@ -437,4 +437,7 @@ $RECYCLE.BIN/
|
|
437 |
# Windows shortcuts
|
438 |
*.lnk
|
439 |
|
440 |
-
# End of https://www.toptal.com/developers/gitignore/api/python,java,c++,pycharm,visualstudiocode,macos,linux,windows
|
|
|
|
|
|
|
|
437 |
# Windows shortcuts
|
438 |
*.lnk
|
439 |
|
440 |
+
# End of https://www.toptal.com/developers/gitignore/api/python,java,c++,pycharm,visualstudiocode,macos,linux,windows
|
441 |
+
|
442 |
+
.*
|
443 |
+
flow_modules/
|
ControllerAtomicFlow.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import json
|
2 |
from copy import deepcopy
|
3 |
from typing import Any, Dict, List
|
4 |
-
from
|
5 |
|
6 |
from dataclasses import dataclass
|
7 |
|
|
|
1 |
import json
|
2 |
from copy import deepcopy
|
3 |
from typing import Any, Dict, List
|
4 |
+
from flow_modules.aiflows.OpenAIChatFlowModule import OpenAIChatAtomicFlow
|
5 |
|
6 |
from dataclasses import dataclass
|
7 |
|
__init__.py
CHANGED
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
from .ControllerExecutorFlow import ControllerExecutorFlow
|
2 |
from .ControllerAtomicFlow import ControllerAtomicFlow
|
3 |
from .WikiSearchAtomicFlow import WikiSearchAtomicFlow
|
|
|
1 |
+
# ~~~ Specify the dependencies ~~~
|
2 |
+
dependencies = [
|
3 |
+
{"url": "aiflows/OpenAIChatFlowModule", "revision": "6a1e351a915f00193f18f3da3b61c497df1d31a3"},
|
4 |
+
]
|
5 |
+
from flows import flow_verse
|
6 |
+
|
7 |
+
flow_verse.sync_dependencies(dependencies)
|
8 |
+
# ~~~
|
9 |
+
|
10 |
from .ControllerExecutorFlow import ControllerExecutorFlow
|
11 |
from .ControllerAtomicFlow import ControllerAtomicFlow
|
12 |
from .WikiSearchAtomicFlow import WikiSearchAtomicFlow
|