What's the difference between prompt and tprompt?
princepride opened this issue · 2 comments
princepride commented
I am reading the server's code and I want know what's difference between prompt and tprompt, why each one have parse_task, choose_model and response_result.
tricktreat commented
@princepride Hi. The tprompt
is the top-level instruction , which is generally used as a message for the system role in the chat API. And prompt
is generally the new input, as the message of the user role. To summarize, tprompt
+demonstraction
+prompt
builds the input of the large language model.
princepride commented
Thanks for your help.Your research is very interesting.