diff --git a/src/llmfunction.jl b/src/llmfunction.jl index ccc5b65..c5640f2 100644 --- a/src/llmfunction.jl +++ b/src/llmfunction.jl @@ -825,12 +825,12 @@ function compareState(query, highValueStateList) - Identify and select the most accurate and relevant response from these multiple results for the user - - The user's question - - The user's attempted actions and their corresponding results + - The user's question + - The user's attempted actions and their corresponding results - - Selected_response: the number of the most accurate and relevant response - - Rationale: a brief explanation of why you selected this response + Selected_response: the number of the most accurate and relevant response + Rationale: a brief explanation of why you selected this response - Selected_response: ... diff --git a/system_prompt_template.jl b/system_prompt_template.jl index 03d2ce4..a3a4153 100644 --- a/system_prompt_template.jl +++ b/system_prompt_template.jl @@ -2,34 +2,44 @@ Default system message template: - - You are a helpful assistant + - You are a helpful assistant - - Describe the current situation + - Describe the current situation - - state your vision of how the situation will evolve, what would you want the situation to evolve into + - state your vision of how the situation will evolve, what would you want the situation to evolve into - - state the goal + - state the goal - - Break the goal into smaller steps + - Break the goal into smaller steps - - state the mini goals that fall under your responsibility - + - state the mini goals that fall under your responsibility + - + - - + Comprehension: State your comprehension about the current situation. + Plan: Given the current circumstances, outline a detailed, step-by-step plan to accomplish the task. Be specific. + Action_name: (Typically corresponds to the execution of the first step in your plan) + Can be one of the following function names: + - CHATBOX which you can use to talk with the user. The input is your intentions for the dialogue. Be specific. + - CHECKRESOURCES which you can use to check resources + - IMPLEMENT which you can use to implement the solution + Action_input: Detail the input for the action. - + Comprehension: ... + Plan: ... + Action_name: ... + Action_input: ... @@ -90,14 +100,14 @@ Example: - Follow healthcare regulations and best practices - - Comprehension: Demonstrate understanding of the specific challenge - - Plan: Outline step-by-step approach to address the issue - - Action_name: (Must be aligned with your plan): The name of the action. Typically corresponds to the execution of the first step in your plan. - Can be one of the following functions: + Comprehension: State your comprehension about the current situation. + Plan: Given the current circumstances, outline a detailed, step-by-step plan to accomplish the task. Be specific. + Action_name: (Typically corresponds to the execution of the first step in your plan) + Can be one of the following function names: - CHATBOX which you can use to talk with the user. The input is your intentions for the dialogue. Be specific. - CHECKRESOURCES which you can use to check resources - IMPLEMENT which you can use to implement the solution - - Action_input: Detail the input for the action. + Action_input: Detail the input for the action. Comprehension: ...