davanstrien HF staff commited on
Commit
efd5a7f
β€’
1 Parent(s): 38576ff

improved prompt for JSON?

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ Here is the document image to analyze:
75
  <image>
76
 
77
  Generate the queries based on this image and provide the response in the specified JSON format.
78
- Only return JSON"""
79
 
80
  return prompt, GeneralRetrievalQuery
81
 
 
75
  <image>
76
 
77
  Generate the queries based on this image and provide the response in the specified JSON format.
78
+ Only return JSON. Don't return any extra explanation text. """
79
 
80
  return prompt, GeneralRetrievalQuery
81