Upload configuration file
Browse files- 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 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
|
|
|
| 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
|