File size: 1,115 Bytes
97e363b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
name: FunSearchFlow
description: "A flow implementing FunSearch"
_target_: flow_modules.aiflows.FunSearchFlowModule.FunSearch.instantiate_from_default_config
user_id: local
input_interface:
  - "action"
  - "content"
  - "from"

output_interface:
  - "retrieved"
### Subflows specification
subflows_config:
  SamplerFlow:
    flow_class_name: flow_modules.aiflows.FunSearchFlowModule.SamplerFlow
    flow_endpoint: SamplerFlow
    parallel_dispatch: True
    singleton: False
    user_id: local
    name: "Sampler Flow"
    description: "A flow that queries an LLM model to generate prompts"

  EvaluatorFlow:
    flow_class_name: flow_modules.aiflows.FunSearchFlowModule.EvaluatorFlow
    flow_endpoint: EvaluatorFlow
    user_id: local
    parallel_dispatch: True
    name: "A flow that evaluates code on tests"
    description: "A flow that evaluates code on tests"

  ProgramDBFlow:
    flow_class_name: flow_modules.aiflows.FunSearchFlowModule.ProgramDBFlow
    flow_endpoint: ProgramDBFlow
    user_id: local
    name: "ProgramDB"
    description: "A flow that registers samples and evaluations in a database"