You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/backend/approaches/prompts/ask_answer_question.prompty
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,12 @@ Use 'you' to refer to the individual asking the questions even if they ask with
19
19
Answer the following question using only the data provided in the sources below.
20
20
Each source has a name followed by colon and the actual information, always include the source name for each fact you use in the response.
21
21
If you cannot answer using the sources below, say you don't know. Use below example to answer.
22
-
{% if use_images %}
23
-
Each image source has the file name in the top left corner of the image with coordinates (10,10) pixels and is in the format SourceFileName:<file_name>.
22
+
{% if image_sources %}
23
+
Each image source has the original document file name in the top left corner of the image with coordinates (10,10) pixels and is in the format Document:<document_name.ext#page=N>.
24
+
The filename of the actual image is in the top right corner of the image and is in the format Figure:<image_name.png>.
24
25
Each text source starts in a new line and has the file name followed by colon and the actual information.
25
-
Always include the source name from the image or text for each fact you use in the response in the format: [filename].
26
+
Always include the source document filename for each fact you use in the response in the format: [document_name.ext#page=N].
27
+
If you are referencing an image, add the image filename in the format: [document_name.ext#page=N(image_name.png)].
26
28
Answer the following question using only the data provided in the sources below.
27
29
The text and image source can be the same file name, don't use the image title when citing the image source, only use the file name as mentioned.
28
30
If you cannot answer using the sources below, say you don't know. Return just the answer without any input texts.
0 commit comments