File size: 2,780 Bytes
bd7cdc8
 
 
 
 
1a7ddf5
 
bd7cdc8
 
 
223bc4c
 
 
4ea6de0
bd7cdc8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d01f657
bd7cdc8
 
 
 
 
 
 
d01f657
 
bd7cdc8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
700c972
 
 
 
4ea6de0
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: ExtendLibraryFlow
description: "A flow used to extend the content in the code library"

_target_: Tachi67.ExtendLibraryFlowModule.ExtendLibraryFlow.instantiate_from_default_config

memory_files: ???

subflows_config:
  MemoryReading:
    _target_: Tachi67.MemoryReadingFlowModule.MemoryReadingAtomicFlow.instantiate_from_default_config
    output_interface:
      - "plan"
      - "logs"
      - "code_library"

  Planner:
    _target_: Tachi67.PlanWriterFlowModule.PlanWriterFlow.instantiate_from_default_config
    subflows_config:
      Controller:
        backend:
          api_infos: ???
          model_name:
            openai: gpt-4
            azure: azure/gpt-4
      Executor:
        subflows_config:
          write_plan:
            subflows_config:
              PlanGenerator:
                backend:
                  api_infos: ???
                  model_name:
                    openai: gpt-4
                    azure: azure/gpt-4

  CtrlExMem:
    _target_: Tachi67.ExtendLibraryFlowModule.CtrlExMem_ExtLib.instantiate_from_default_config
    subflows_config:
      Controller:
        backend:
          api_infos: ???
          model_name:
            openai: gpt-4
            azure: azure/gpt-4
      Executor:
        subflows_config:
          write_code:
            subflows_config:
              Controller:
                backend:
                  api_infos: ???
                  model_name:
                    openai: gpt-4
                    azure: azure/gpt-4
              Executor:
                subflows_config:
                  write_code:
                    memory_files: ???
                    subflows_config:
                      CodeGenerator:
                        backend:
                          api_infos: ???
                          model_name:
                            openai: gpt-4
                            azure: azure/gpt-4
                  test:
                    memory_files: ???
          re_plan:
            subflows_config:
              Controller:
                backend:
                  api_infos: ???
                  model_name:
                    openai: gpt-4
                    azure: azure/gpt-4
              Executor:
                subflows_config:
                  write_plan:
                    subflows_config:
                      PlanGenerator:
                        backend:
                          api_infos: ???
                          model_name:
                            openai: gpt-4
                            azure: azure/gpt-4
      MemoryReading:
       _target_: Tachi67.MemoryReadingFlowModule.MemoryReadingAtomicFlow.instantiate_from_default_config
       output_interface:
         - "plan"
         - "logs"
         - "code_library"