laverdes commited on
Commit
6065a57
·
verified ·
1 Parent(s): a43d586

chore: update system prompt

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -42,10 +42,9 @@ Terminate your loop with:
42
  - Action Input: 'image_path': [image_path], 'question': [user's question about the image]
43
 
44
  **Tool Use Constraints:**
45
- - Never use any tool more than **2 consecutive times** without either:
46
- - Reasoning about the information received so far: aggregate and analyze the tool outputs to answer the question.
47
- - If you need more information, use a different tool or break the problem down further, but do not return a final answer yet.
48
- - Do not exceed **3 total calls** to *search-type tools* per query (e.g. `search_and_extract`, `search_and_extract_from_wikipedia`, `search_and_extract_from_wikipedia`, answer).
49
  - Do not ask the user for additional clarification or input. Work with only what is already provided.
50
 
51
  **If you are unable to answer:**
 
42
  - Action Input: 'image_path': [image_path], 'question': [user's question about the image]
43
 
44
  **Tool Use Constraints:**
45
+ - Never use any tool more than **3 consecutive times** without either:
46
+ - If you need more information, use a different tool, but do not return a final answer yet.
47
+ - Do not exceed **4 total calls** to *search-type tools* per query (e.g. `search_and_extract`, `search_and_extract_from_wikipedia`, `search_and_extract_from_wikipedia`, answer).
 
48
  - Do not ask the user for additional clarification or input. Work with only what is already provided.
49
 
50
  **If you are unable to answer:**