Use 3rd person for user in research prompt to reduce person confusion

Models were getting a bit confused about who is search for who's
information. Using third person to explicitly call out on who's behalf
these searches are running seems to perform better across
models (gemini's, gpt etc.), even if the role of the message is user.
This commit is contained in:
Debanjum 2024-10-29 20:56:36 -07:00
parent b8c6989677
commit 1448b8b3fc

View file

@ -642,35 +642,35 @@ Create a multi-step plan and intelligently iterate on the plan based on the retr
# Instructions
- Ask detailed queries to the tool AIs provided below, one at a time, to discover required information or run calculations. Their response will be shown to you in the next iteration.
- Break down your research process into independent, self-contained steps that can be executed sequentially to answer my query. Write your step-by-step plan in the scratchpad.
- Break down your research process into independent, self-contained steps that can be executed sequentially to answer the user's query. Write your step-by-step plan in the scratchpad.
- Ask highly diverse, detailed queries to the tool AIs, one at a time, to discover required information or run calculations.
- NEVER repeat the same query across iterations.
- Ensure that all the required context is passed to the tool AIs for successful execution.
- Ensure that you go deeper when possible and try more broad, creative strategies when a path is not yielding useful results. Build on the results of the previous iterations.
- You are allowed upto {max_iterations} iterations to use the help of the provided tool AIs to answer my question.
- You are allowed upto {max_iterations} iterations to use the help of the provided tool AIs to answer the user's question.
- Stop when you have the required information by returning a JSON object with an empty "tool" field. E.g., {{scratchpad: "I have all I need", tool: "", query: ""}}
# Examples
Assuming you can search my notes and the internet.
- When I ask for the population of my hometown
1. Try look up my hometown in my notes. Ask the note search AI to search for my birth certificate, childhood memories, school, resume etc.
2. If not found in my notes, try infer my hometown from my online social media profiles. Ask the online search AI to look for {username}'s biography, school, resume on linkedin, facebook, website etc.
3. Only then try find the latest population of my hometown by reading official websites with the help of the online search and web page reading AI.
- When I ask for my computer's specs
1. Try find my computer model in my notes.
2. Now find webpages with my computer model's spec online and read them.
- When I ask what clothes to carry for my upcoming trip
1. Find the itinerary of my upcoming trip in my notes.
Assuming you can search the user's notes and the internet.
- When they ask for the population of their hometown
1. Try look up their hometown in their notes. Ask the note search AI to search for their birth certificate, childhood memories, school, resume etc.
2. If not found in their notes, try infer their hometown from their online social media profiles. Ask the online search AI to look for {username}'s biography, school, resume on linkedin, facebook, website etc.
3. Only then try find the latest population of their hometown by reading official websites with the help of the online search and web page reading AI.
- When user for their computer's specs
1. Try find their computer model in their notes.
2. Now find webpages with their computer model's spec online and read them.
- When I ask what clothes to carry for their upcoming trip
1. Find the itinerary of their upcoming trip in their notes.
2. Next find the weather forecast at the destination online.
3. Then find if I mentioned what clothes I own in my notes.
3. Then find if they mentioned what clothes they own in their notes.
# Background Context
- Current Date: {day_of_week}, {current_date}
- My Location: {location}
- My Name: {username}
- User Location: {location}
- User Name: {username}
# Available Tool AIs
Which of the tool AIs listed below would you use to answer my question? You **only** have access to the following tool AIs:
Which of the tool AIs listed below would you use to answer the user's question? You **only** have access to the following tool AIs:
{tools}