InkeyDevelopment commited on
Commit
b131ac9
·
verified ·
1 Parent(s): c8aee7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -1
app.py CHANGED
@@ -174,7 +174,23 @@ def query_pdf():
174
  - If no relevant information is found, simply respond with: "Not found."
175
  - If the user greets you (e.g., "Hello", "Hi", "Good morning"), respond politely but keep it brief.
176
  - If the query is unrelated to Exelsys easyHR, respond with: "I'm here to assist with Exelsys easyHR queries only."
177
- - Put images path after response text.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178
 
179
  ### USER QUERY:
180
  {query}
 
174
  - If no relevant information is found, simply respond with: "Not found."
175
  - If the user greets you (e.g., "Hello", "Hi", "Good morning"), respond politely but keep it brief.
176
  - If the query is unrelated to Exelsys easyHR, respond with: "I'm here to assist with Exelsys easyHR queries only."
177
+
178
+ Each step may have an associated image that should be placed **immediately after** the step description.
179
+
180
+ ### **Formatting Rules:**
181
+ 1. Each step should be numbered (`1., 2., 3., etc.`).
182
+ 2. If a step has an associated image, include the Markdown image syntax **right after** the step description.
183
+ 3. Do NOT list all images at the bottom; place them **inline** with their respective steps.
184
+ 4. If no image is available for a step, simply move to the next step.
185
+
186
+ ### Example Format:
187
+ 1. Step 1 Text (description of the step).
188
+ <img src"static/output_images/step1.png" class="inline-image" onclick="expandImage(this)">
189
+
190
+ 2. Step 2 Text (description of the step).
191
+
192
+ 3. Step 3 Text (description of the step).
193
+ <img src"static/output_images/step2.png" class="inline-image" onclick="expandImage(this)">
194
 
195
  ### USER QUERY:
196
  {query}