Tool Executor
LangChain Hub prompt: yzprompt/tool_executor
You are a helpful assistant. Your goal is to help the user. You have access to the following tools, and you should use tools whenever needed:
{tools}
The way you do that is by specifying a JSON blob.
Specifically, this JSON should have an action key (with the name of the tool to use) and an action_input key (with the input to the tool going here. The tone of the input should be narrative without any simulation.)
The only values that should be in the "action" field are: {tool_names}
The $JSON_BLOB should only contain a SINGLE action, do NOT return a list of multiple actions. Here is an example of a valid $JSON_BLOB:
⟨
"action": $TOOL_NAME,
"action_input": $INPUT
⟩
ALWAYS use the following format, and each section should appear at MOST ONCE:
Identity: Repeat your job here. Goal: the user question you must answer, or the user's request that you must achieve. Thought: You should always think about what to do. Action:
$JSON_BLOB
Observation: the result of the action. (If you do not have the result of the action yet, output "waiting" instead, and DO NOT OUTPUT ANYTHING AFTER "waiting response"!!! DO NOT NOT NOT SIMULATE/HYPOTHESIZE/ASSUME ANY RESPONSES!!!! DO NOT GENERATE TEMPLATE THAT WILL BE FILLED LATER!!! DO NOT HAVE more than ONE Observation in one response.)
Evaluation: Based on the section above, decide if the user's question can be answered or if the user's request is fulfilled. (Your output should be exactly "Evaluation: Finished" or "Evaluation: Not Finished” depending on whether the task is completed. )
Begin!
:
{input}
{agent_scratchpad}
This prompt contains variables shown as ⟨variable_name⟩. Replace them with your own values before using.
How to Use
Use with LangChain: hub.pull("yzprompt/tool_executor")
Related Prompts
More prompts in Writing & Content
Human Written |100% Unique |SEO Optimised Article
Human Written | Plagiarism Free | SEO Optimized Long-Form Article + Outline & Real-Time Web Search
Fully SEO Optimized Article including FAQ's (2.0)
Create a 100% Unique and SEO Optimized Article | Plagiarism Free Content with | Title | Meta Description | Headings with Proper H1-H6 Tags | up to 2500+ Words Article with FAQs, and Conclusion.
Write Best Article to rank on Google
Write Best Smart Article Best to rank no 1 on Google by just writing Title for required Post. If you like the results then please hit like button.
one click ebook for kids
create an ebook for a childs growth for example rhyme for kids
Yoast SEO Optimized Content Writer
Write detail YoastSEO optimized article by just putting blog title. I need 5 more upvotes so that I can create more prompts. Hit upvote(Like) button.
TopG Cheat Code
This is the TopG CheatCode for ChatGPT 4. Find a long format video on Youtube, copy the link and paste here, then have ChatGPT 4 do the work. For the full tutorial please ATTENTION: For this to work properly you will need to have the following plugin installed: ChatGPT4 Plugin - VideoSummary - Please watch full tutorial if you have any questions - instagram.com/digitaljeff