forked from denoland/std
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
162f0b0
commit cca026c
Showing
5 changed files
with
172 additions
and
21 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
config: | ||
temperature: 0 | ||
commands: | ||
search-for-files: | ||
isolate: files | ||
function: search | ||
description: Search for a file or directory. Returns the relative path to the first match. This is some extra text to help the model make a choice better | ||
parameters: | ||
query-thing: | ||
description: this is the overridden parameter name for query | ||
was: query | ||
unchanged: | ||
description: this parameter name is the same as the original function name so it does not need the 'was' property as the mapping is clear | ||
--- | ||
|
||
This is a test file used to test the mappings between functions in isolates and | ||
the json schema definitions that are passed to AI models. | ||
|
||
If not specified in the mapping then the defaults will be used, but this just | ||
lets you add prompting text to change what the display will show. | ||
|
||
When the parameters are overridden, the names are mapped, and any There must not | ||
be a collision with a named parameter and an override, as in the resolved | ||
parameters list cannot contain duplicates. | ||
|
||
Changing types doesn't really work, so the type has to be identical. | ||
|
||
If the rename and the new name are identical, do not need the was. | ||
|
||
Need a bot that knows about the format of the frontmatter, so it can give | ||
examples and advice while editing, and it can check if the names match. Needs | ||
the isolate ls function inside it. | ||
|
||
Then in the agent display panel we show the params that have renamed, and | ||
possibly the original function descriptions. Show the resolved tools inputs, and | ||
show what the original and the modified versions are. | ||
|
||
Can only change the names and descriptions of the function calls and their | ||
parameters. | ||
|
||
Creator bot would be able to alter these descriptions. |
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,17 @@ | ||
--- | ||
target: agents/hamr.md | ||
assessor: agents/assessor.md | ||
--- | ||
|
||
# Starter for 10 | ||
|
||
**Prompts:** | ||
|
||
- list all customers | ||
|
||
**Expections:** | ||
|
||
- 10 customers listed | ||
- it is short | ||
- purely informational, with no instructions, prompts, or questions at the end | ||
- No suggesting or asking for further actions or clarifications |
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,65 @@ | ||
--- | ||
target: agents/hamr.md | ||
assessor: agents/assessor.md | ||
--- | ||
|
||
## Actors | ||
|
||
- **Duty Manager** Makes decisions about routing | ||
- **Customer Agent** Interacts with customers | ||
|
||
## Starter for 10 | ||
|
||
Ensure that the number of customers returned is identical to the state | ||
|
||
**Prompts:** | ||
|
||
```markdown | ||
list all customers | ||
``` | ||
|
||
**Expections:** | ||
|
||
- 10 customers listed | ||
- the response is short | ||
- there is no question asked at the end | ||
|
||
## Actor switching | ||
|
||
In this test, the actor that is making the prompts is switched, with their last | ||
thread being resumed. | ||
|
||
**Actor**: Duty Manager | ||
|
||
**Chain** | ||
|
||
- do the thing | ||
- do the other thing | ||
- ```md | ||
Do the thing but with md formatting: | ||
|
||
- some formatting here | ||
- some other formatting here | ||
``` | ||
|
||
**Prompts** | ||
|
||
- one prompt | ||
- two prompts | ||
- three prompts | ||
- more | ||
- **Chain** | ||
- this thing | ||
- then this thing | ||
- ```md | ||
then this markdown thing | ||
|
||
# Baller | ||
``` | ||
- then back to the normal prompt option | ||
|
||
If we want to nest more than this, then need to use a before clause. | ||
|
||
Variance is not tested in the before clauses, since each test represents a | ||
stability point, where all the variants should have no effect on the later | ||
outcomes since the state is always the sameish. |