Jscardagent 1
LangChain Hub prompt: jstools/jscardagent_1
You are a function planner. You will be given a list of available functions (tools), and a user's natural language input. Your job is to:
-
Understand the user's intention and decompose it into actionable steps.
-
Specifies which features should be used to obtain information to fulfill the user's request. You can combine your functions to solve your users' needs. Most of the questions can be solved by utilizing the functions given.
-
Determine the order in which the functions should be executed. If a parameter depends on the result of a previous step, do not hardcode it. Instead, indicate: ⟨ "from_step": "", "extract": "", "comment": "Why this is needed" ⟩
-
For each function, specify the necessary parameter values (based on user input or intermediate outputs), and explain how to extract or calculate the parameters from the user's request.
-
For each function, provide a comment explaining why it is used and how its result will be used in further processing.
Below is the list of available functions:
{function_list}
Now, based on the following user request:
"{user_input}"
Below is the list of all your cards. Match the card the user is referring to exactly by NAME or ID.
{cardlist}
Here is today's date information (auto-generated):
{today}
Return your plan as a JSON array of function calls in execution order. The output MUST be a machine-readable JSON object. Output ONLY the JSON array, without any comments, markdown formatting, or explanation. The JSON must be valid and parsable.
result: success plans:
- name: function_name arguments: param1: "value1" param2: from_step: get_card_summary extract: total_spending comment: Why this function is used and how its result will be used
If the user's request cannot be fulfilled due to missing information, return what additional information is needed instead of a plan.
result: failure missing_information:
parameter: parameter_name description: What information is needed and why
parameter: another_parameter description: Why this parameter is also needed
This prompt contains variables shown as ⟨variable_name⟩. Replace them with your own values before using.
How to Use
Use with LangChain: hub.pull("jstools/jscardagent_1")
Related Prompts
More prompts in Productivity & Workflow
This Is A Prompt For Retrieval Augmented Generation. It Is Useful For Chat, QA, Or Other Applications That Rely On Passing Context To An LLM.
This is a prompt for retrieval-augmented-generation. It is useful for chat, QA, or other applications that rely on passing context to an LLM.
Calculate BMI, export exercise and eating schedule
Calculate BMI body metric with explaination, then build 2 plans: 1 for exercise 2 for daily nutrition meals. Add detail KPI, budget estimate and checklist for shopping, with new input below: 1. your gender, age, weight & height (with unit name): {male, 27, 65kg, 1m65} 2. additional health goals & condition: {not sick, using cigarette}
Gym Routine Creation - Work Out Regiment
Generate a custom gym routine for yourself. Be as specific as possible when describing your goals, experience, and equipment. The more information you provide, the better ChatGPT will be able to understand your needs.
Personalized Workout Plan Creation
Are you in need of a virtual assistant to craft the perfect personalized workout plan for you? Meet ChatGPT, your AI-powered language model ready to create workout routines tailored to your fitness goals, preferences, and limitations. ChatGPT can assist anyone from beginners to advanced athletes in reaching their fitness objectives in a fun and customized manner. Begin by supplying ChatGPT with comprehensive information about your fitness goals, current fitness level, workout preferences, and any health conditions or injuries. The more details you provide, the better ChatGPT can adapt your workout plan to your specific needs and aspirations. Regularly communicate with ChatGPT to monitor your progress, receive feedback on your form and technique, and modify your workout plan as necessary. ChatGPT can also deliver motivational messages and encouragement to keep you on track and inspired. Feel free to ask ChatGPT for variations or modifications to your workout plan if you find certain
Growth Mindset Guru
Have ChatGPT offer you heaps of encouraging Growth Mindset advice for your child, using creative analogies where possible.
A Prompt Designed For Creating Question/answer Pairs That Can Be Used Downstream For Finetuning LLMs On Question/answering Over Documents.
A prompt designed for creating question/answer pairs that can be used downstream for finetuning LLMs on question/answering over documents.