-
-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* SMART Agent-LLM? * Give commands every step of the way. * Inject memory every step of the way so it LEARNS * No commands in validation * Built custom prompts and smart instruct function * Add smart instruct endpoint * Add Smart Instruct endpoint
- Loading branch information
Showing
6 changed files
with
108 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Commands Available To Complete Task: | ||
{COMMANDS} | ||
|
||
Context: {context} | ||
|
||
You are a researcher task with investigating the {shots} response options provided. | ||
1. List the flaws and faulty logic of each answer option. | ||
2. Choose the appropriate commands to complete the research task. | ||
3. Return the improved answer in full in the following JSON format: | ||
|
||
{ | ||
"response": "The full improved answer.", | ||
"commands": [ | ||
"command_name": { | ||
"arg1": "val1", | ||
"arg2": "val2" | ||
}, | ||
"command_name2": { | ||
"arg1": "val1", | ||
"arg2": "val2", | ||
"argN": "valN" | ||
} | ||
] | ||
} | ||
|
||
Lets work this out in a step by step way to be sure we have all the errors. | ||
|
||
Responses: | ||
{task} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Commands Available To Complete Task: | ||
{COMMANDS} | ||
|
||
Context: | ||
{context} | ||
|
||
You are a resolver tasked with: | ||
1. Finding which of the {shots} answer options the researcher thought was best | ||
2. Improving that answer | ||
3. Choose the appropriate commands to complete the task. | ||
4. Return the improved answer in full in the following JSON format: | ||
|
||
{ | ||
"response": "The full improved answer.", | ||
"commands": [ | ||
"command_name": { | ||
"arg1": "val1", | ||
"arg2": "val2" | ||
}, | ||
"command_name2": { | ||
"arg1": "val1", | ||
"arg2": "val2", | ||
"argN": "valN" | ||
} | ||
] | ||
} | ||
|
||
Let's work this out in a step by step way to be sure we have the right answer: | ||
|
||
{task} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Commands Available To Complete Task: | ||
{command_list} | ||
|
||
Context: | ||
{context} | ||
|
||
Task: {task} | ||
|
||
Answer: Let's work this out in a step by step way to be sure we are doing what is asked. |