what you want, and it tries to reply based its training and your instructions - more clear instructions = better reply - LLM always answer, but not always based on truth
analysis. I n"d an answer from calc tool, here are the arguments to pass it User: Assistant: // Ca!s JS function and returns result Here's the analysis System: // Your system prompt
2.The objective of the task (an image of desired outcome) 3.The sequence of steps in the plan 4.The rationale for the plan 5.The key decisions that may have to be made 6.Antigoals 7.Constrains and other considerations
follow • Give examples (few-shot prompting) • Ask an LLM to think step by step • Help an LLM with tools (tools are just functions) • Ask an LLM to help you improve the prompt