Skip to content

Commit

Permalink
explicit instructions to preserve greek chars
Browse files Browse the repository at this point in the history
  • Loading branch information
j2whiting authored Nov 26, 2024
1 parent f18f783 commit fac4374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document_intelligence/table_extractor/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

TABLE_EXTRACTION_PROMPT = """Please extract the tables from the images and provide the data in a tabular format. Some images may not contain tables, and may contain a mix of figures, graphs and equations. Please ignore these images and give them a score of 0. You will structure your response as a JSON object with the following schema:
'table_text': The text extracted from the table, use visual cues to separate the columns and rows.
'table_text': The text extracted from the table, use visual cues to separate the columns and rows. Ensure that greek characters are preserved, do not swap "α" to "a" for example.
'score': A score from 0 to 10 indicating the quality of the extracted table. 0 indicates that the image does not contain a table, 10 indicates a high-quality extraction.
Begin:
Expand Down

0 comments on commit fac4374

Please sign in to comment.