EtashGuha commited on
Commit
27fb632
·
verified ·
1 Parent(s): bee8772

Upload configuration file

Browse files
Files changed (1) hide show
  1. config/parse_zayne_pdfs.yaml +19 -3
config/parse_zayne_pdfs.yaml CHANGED
@@ -52,12 +52,28 @@ operators:
52
  map_config:
53
  user_message: |
54
  I will provide you with a given question and the text from which it was extracted from.
55
- Given the text, I want you to provide additional context for the question such that it is answerable on its own.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
 
57
  Here is the question: {{extracted_question}}
58
  Here is the extracted text: {{output_extraction}}
59
-
60
- Include only the new question with its context.
61
  """
62
  output_column: improved_question
63
  model: gpt-4o-mini
 
52
  map_config:
53
  user_message: |
54
  I will provide you with a given question and the text from which it was extracted from.
55
+ Provide the text before the question in the extracted text that is useful for answering the question and the question itself.
56
+
57
+ For example:
58
+ Extracted Question: Calculate the chemical amount (in mol or mmol) of nitric acid that reacts with the
59
+ 5.000 g sample of this mineral.
60
+ Extracted Text: A sample of a different mineral is analysed by the same methods. This mineral also contains only Pb2+, CO3 2−, OH− and O2− ions.
61
+ When a 5.000 g sample of this mineral is treated with 25.00 mL of 2.000 mol L−1 nitric acid
62
+ (HNO3), 0.5214 g of carbon dioxide is released, and 0.01051 mol of the acid remains.
63
+ When subjected to thermal decomposition, 5.000 g of this mineral loses 0.5926 g.
64
+ (g) Calculate the chemical amount (in mol or mmol) of nitric acid that reacts with the
65
+ 5.000 g sample of this mineral.
66
+
67
+ You would tell me:
68
+
69
+ A sample of a different mineral is analysed by the same methods. This mineral also contains only Pb2+, CO3 2−, OH− and O2− ions.
70
+ When a 5.000 g sample of this mineral is treated with 25.00 mL of 2.000 mol L−1 nitric acid
71
+ (HNO3), 0.5214 g of carbon dioxide is released, and 0.01051 mol of the acid remains.
72
+ When subjected to thermal decomposition, 5.000 g of this mineral loses 0.5926 g. Calculate the chemical amount (in mol or mmol) of nitric acid that reacts with the
73
+ 5.000 g sample of this mineral.
74
 
75
  Here is the question: {{extracted_question}}
76
  Here is the extracted text: {{output_extraction}}
 
 
77
  """
78
  output_column: improved_question
79
  model: gpt-4o-mini