nbaldwin commited on
Commit
4b32102
·
1 Parent(s): a717c8f

changes for new backend (all tested)

Browse files
CF_Code.yaml CHANGED
@@ -17,10 +17,8 @@ output_interface:
17
  - "api_output"
18
 
19
  # ~~~ Flow specification ~~~
20
-
21
  backend:
22
  _target_: flows.backends.llm_lite.LiteLLMBackend
23
- api_infos: ???
24
  wait_time_per_key: 6
25
  model_name:
26
  openai: "gpt-4"
 
17
  - "api_output"
18
 
19
  # ~~~ Flow specification ~~~
 
20
  backend:
21
  _target_: flows.backends.llm_lite.LiteLLMBackend
 
22
  wait_time_per_key: 6
23
  model_name:
24
  openai: "gpt-4"
CF_CodeDebug.yaml CHANGED
@@ -24,7 +24,6 @@ subflows_config:
24
  name: "CodeGenerator"
25
  backend:
26
  _target_: flows.backends.llm_lite.LiteLLMBackend
27
- api_infos: ???
28
  model_name:
29
  openai: "gpt-4"
30
  azure: "azure/gpt-4"
 
24
  name: "CodeGenerator"
25
  backend:
26
  _target_: flows.backends.llm_lite.LiteLLMBackend
 
27
  model_name:
28
  openai: "gpt-4"
29
  azure: "azure/gpt-4"
CF_CodeDebugCollab.yaml CHANGED
@@ -23,7 +23,6 @@ subflows_config:
23
  name: "CodeGenerator"
24
  backend:
25
  _target_: flows.backends.llm_lite.LiteLLMBackend
26
- api_infos: ???
27
  model_name:
28
  openai: "gpt-4"
29
  azure: "azure/gpt-4"
 
23
  name: "CodeGenerator"
24
  backend:
25
  _target_: flows.backends.llm_lite.LiteLLMBackend
 
26
  model_name:
27
  openai: "gpt-4"
28
  azure: "azure/gpt-4"
CF_Plan.yaml CHANGED
@@ -17,7 +17,8 @@ output_interface:
17
  - "api_output"
18
 
19
  # ~~~ Flow specification ~~~
20
- model_name:
 
21
  openai: "gpt-4"
22
  azure: "azure/gpt-4"
23
  n: 1
 
17
  - "api_output"
18
 
19
  # ~~~ Flow specification ~~~
20
+ backend:
21
+ model_name:
22
  openai: "gpt-4"
23
  azure: "azure/gpt-4"
24
  n: 1
LC_PlanCritic.yaml CHANGED
@@ -18,15 +18,15 @@ output_interface:
18
  - "api_output"
19
 
20
  # ~~~ Flow specification ~~~
21
- model_name:
22
- openai: "gpt-4"
23
- azure: "azure/gpt-4"
 
24
 
25
  n: 1
26
  max_tokens: 3000
27
  temperature: 0.3
28
 
29
-
30
  top_p: 0.2
31
  frequency_penalty: 0
32
  presence_penalty: 0
 
18
  - "api_output"
19
 
20
  # ~~~ Flow specification ~~~
21
+ backends:
22
+ model_name:
23
+ openai: "gpt-4"
24
+ azure: "azure/gpt-4"
25
 
26
  n: 1
27
  max_tokens: 3000
28
  temperature: 0.3
29
 
 
30
  top_p: 0.2
31
  frequency_penalty: 0
32
  presence_penalty: 0