EtashGuha commited on
Commit
9ce23a3
·
verified ·
1 Parent(s): 73afe75

Upload configuration file

Browse files
Files changed (1) hide show
  1. config/parse_zayne_pdfs.yaml +16 -16
config/parse_zayne_pdfs.yaml CHANGED
@@ -28,20 +28,20 @@ operators:
28
  max_tokens_per_minute: 1_000_000
29
  input_ids:
30
  - process_pdfs
31
- # - id: generate_plan_instructions
32
- # config:
33
- # type: completions
34
- # map: list_qa
35
- # map_config:
36
- # user_message: |
37
- # Extract all of the questions and answer choices from the following text.
38
- # If a question references an image or content not found in the text, ignore it.
39
- # Capture all relevant context for each question.
40
 
41
- # {{output_extraction}}
42
- # """
43
- # output_instruction_column: extracted_question
44
- # output_response_column: extracted_response
45
- # model: gpt-4o-mini
46
- # input_ids:
47
- # - process_pdfs
 
28
  max_tokens_per_minute: 1_000_000
29
  input_ids:
30
  - process_pdfs
31
+ - id: generate_questions
32
+ config:
33
+ type: completions
34
+ map: list_qa
35
+ map_config:
36
+ user_message: |
37
+ Extract all of the questions and answer choices from the following text.
38
+ If a question references an image or content not found in the text, ignore it.
39
+ Capture all relevant context for each question.
40
 
41
+ {{output_extraction}}
42
+ """
43
+ output_instruction_column: extracted_question
44
+ output_response_column: extracted_response
45
+ model: gpt-4o-mini
46
+ input_ids:
47
+ - generate_plan_instructions