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:
2626
2727``` yaml
2828version : 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
3333 output_cols : ["question", "response"]
3434 gen_kwargs : # kwargs for block.generate()
3535 max_tokens" : 2048,
3636 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
4141 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"]
4644` ` `
4745
4846## Versioning
You can’t perform that action at this time.
0 commit comments