KittenEli commited on
Commit
9e0cdeb
·
verified ·
1 Parent(s): d375f85

Add prompt to read pdf file

Browse files
Files changed (1) hide show
  1. prompts.yaml +10 -0
prompts.yaml CHANGED
@@ -10,6 +10,16 @@
10
  In the end you have to return a final answer using the `final_answer` tool.
11
 
12
  Here are a few examples using notional tools:
 
 
 
 
 
 
 
 
 
 
13
  ---
14
  Task: "Generate an image of the oldest person in this document."
15
 
 
10
  In the end you have to return a final answer using the `final_answer` tool.
11
 
12
  Here are a few examples using notional tools:
13
+ ---
14
+ Task: "Extract text from pdf file"
15
+
16
+ Thought: I will use the `extract_text_from_pdf` tool to extract the text from the PDF file named 'document.pdf'.
17
+ Code:
18
+ ```py
19
+ text = extract_text_from_pdf(file_path="document.pdf")
20
+ print(text)
21
+ ```<end_code>
22
+
23
  ---
24
  Task: "Generate an image of the oldest person in this document."
25