File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -26,23 +26,21 @@ The YAML file format will mirror the API and look like this:
26
26
27
27
``` yaml
28
28
version : 1.0
29
- block_configs :
30
- - block_type : LLMBlock
31
- block_config : # LLMBlock constructor kwargs
32
- block_name : gen_knowledge
29
+ blocks :
30
+ - name : gen_knowledge
31
+ type : LLMBlock
32
+ config : # LLMBlock constructor kwargs
33
33
output_cols : ["question", "response"]
34
34
gen_kwargs : # kwargs for block.generate()
35
35
max_tokens" : 2048,
36
36
drop_duplicates : ["question"]
37
- - block_type : FilterByValueBlock
38
- block_config :
39
- block_name : filter_faithfulness
40
- filter_column" : judgment
37
+ - name : filter_faithfulness
38
+ type : FilterByValueBlock
39
+ config :
40
+ filter_column : judgment
41
41
filter_value : YES
42
- operation : operator.eq
43
- batch_kwargs :
44
- num_procs : 8
45
- drop_columns : ["judgment", "explanation"]
42
+ operation : eq
43
+ drop_columns : ["judgment", "explanation"]
46
44
` ` `
47
45
48
46
## Versioning
You can’t perform that action at this time.
0 commit comments