fadliaulawi commited on
Commit
933172b
1 Parent(s): 3f96f05

Modify prompt to match SNP

Browse files
Files changed (1) hide show
  1. prompt.py +3 -2
prompt.py CHANGED
@@ -275,9 +275,10 @@ This is the data:
275
  Given the provided table data, the following tasks need to be completed:
276
 
277
  1. Check whether the gene name is the correct gene name. If the gene name is suspected of a typo, fix it into the correct form. If the gene name seems like a mistake entirely or invalid, remove the data row. Common errors include:
278
- - Combined Names: Two gene names erroneously merged into one. Separate these using "and": "A and B".
279
  - OCR Errors: Similar characters misread by the system. Correct these to the intended form.
280
- 2. If diseases are not empty, check whether the gene name corresponds with the gene names. Fix it with the correct diseases if the original disease is wrong.
 
281
 
282
  # RESPONSE #
283
  The output must be only a string containing a list of JSON objects, adhering to the identical structure present in the original input data. Each object representing a validated entry with the following structure:
 
275
  Given the provided table data, the following tasks need to be completed:
276
 
277
  1. Check whether the gene name is the correct gene name. If the gene name is suspected of a typo, fix it into the correct form. If the gene name seems like a mistake entirely or invalid, remove the data row. Common errors include:
278
+ - Combined Names: Two gene names erroneously merged into one. Duplicate this data row so each gene name has its own data.
279
  - OCR Errors: Similar characters misread by the system. Correct these to the intended form.
280
+ 2. If SNP is not empty, check whether the gene name corresponds with the SNP. Fix it with the correct SNP if the original SNP is wrong.
281
+ 3. If diseases are not empty, check whether the gene name corresponds with the diseases. Fix it with the correct diseases if the original disease is wrong.
282
 
283
  # RESPONSE #
284
  The output must be only a string containing a list of JSON objects, adhering to the identical structure present in the original input data. Each object representing a validated entry with the following structure: