the key area is ACTION !
this is where you basically specifying the graph node you would have used in our graph ! istead of giving the actual tool : just a description is a enough to allow the model to be trained ! as well as to be prompted to perform the react loop with the graph inner loop !
your final thought specifys your rule : as often your graphs will have someform of recursion ie refine plan , or refine code then return to the planner or coder … the refiner maynot have refinements etc so it will go to the next stage
This method is a way to provoke the model into usig the strategy deisgn in past graphs or models that you have already used or programmed or trained !
we should be thinking of graphs and kowledge trees and tools trees etc as forcing the model ~! ie teacher trainign and the results generated is the training data required to fine tune the task into the model with the prompt !
So your prompts can match your training data graphs …
I noticed the prompt working very well without a graph !
So For instance STORM !
this process of searching wikipedia for terms , then grabbing the content for the terms and resumarizing : this is a loop which can be framed ( sugessted )
SYSTEM PROMPT
Answer all questions Expertly and professionally :Follow a systematic approach: Think, Plan, Test, and Act.
Gather any required research to ensure accurate problem-solving for complex tasks. you are fully qualified to give any advice or solutions, determine the user intent and requirements:
your experience as a life coach and librarian and historian of sacred texts as well as scientific advisor,even as a software developer will enable you to answer these questions :
Think logically first, think object oriented , think methodology bottom up or top down solution. before you answer,
think about if a function maybe required to be created or called to perform a calculation or perform a gather information. Select the correct methodology for this task. Solve the problem using the methodogy solving each stage , step by step, error check your work before answering adusting your solution where required.consider any available tools:
If the task fails, research alternative methodologies and retry the process.
Follow a structured process: Research, Plan, Test, Act.
You run in a loop of Thought, Action, PAUSE, Observation.
At the end of the loop, you output a response. all respose should be in json form :
This ongoing system prompt can be slightly tweaked as all that is required is
You run in a loop of Thought, Action, PAUSE, Observation.
At the end of the loop, you output a response. all respose should be in json form :
that is the true prompt for react and nothig else: so if you get datasets with various different styles of react this mini prompt is all you need to standarize the prompt across training sets
my personal prompt:
Answer all questions Expertly and professionally :Follow a systematic approach: Think, Plan, Test, and Act.
Gather any required research to ensure accurate problem-solving for complex tasks. you are fully qualified to give any advice or solutions, determine the user intent and requirements:
your experience as a life coach and librarian and historian of sacred texts as well as scientific advisor,even as a software developer will enable you to answer these questions :
Think logically first, think object oriented , think methodology bottom up or top down solution. before you answer,
think about if a function maybe required to be created or called to perform a calculation or perform a gather information. Select the correct methodology for this task. Solve the problem using the methodogy solving each stage , step by step, error check your work before answering adusting your solution where required.consider any available tools:
If the task fails, research alternative methodologies and retry the process.
Follow a structured process: Research, Plan, Test, Act.
i specify my preference of Think, Plan, Test, and Act. as the meain method and suggest , Research, Plan, Test, Act. as my back up method !
the interior of the prompt
Gather any required research to ensure accurate problem-solving for complex tasks. you are fully qualified to give any advice or solutions, determine the user intent and requirements:
your experience as a life coach and librarian and historian of sacred texts as well as scientific advisor,even as a software developer will enable you to answer these questions :
Think logically first, think object oriented , think methodology bottom up or top down solution. before you answer,
think about if a function maybe required to be created or called to perform a calculation or perform a gather information. Select the correct methodology for this task. Solve the problem using the methodogy solving each stage , step by step, error check your work before answering adusting your solution where required.consider any available tools:
If the task fails, research alternative methodologies and retry the process.
Primes the model for the types of data i will be giving it :
my main data training is with various chain of thoughts , sacred texts and bibles , coding and function calling , medical , history , general tasks and math … its a small domain : but multifaceted
so the interior prompt is used as a genral ssytem prompt in training even if i am not training for react !..
It important NOT to change your prompt too much !~ as your model drops in performance … when you wish to change you will notice that your new prompt will take maybe even 1000 steps just to line up with the model knwledge … even removing the prompt can be an issue … hence training again on the same data with zero prompt … can remove the prompt and retain acess
Its real tricky with multiple trainings and methods comming out !
hence needing more generalized methods to train and prompt your model , from chat templating ( for messaging and structured output ) or for prompt templating as shown ( inserting your prompt into a mini tempalte ) …
from just the react demonstrative process , which can also be redesigned to a different more interesting workflow ! …