-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
3 changed files
with
32 additions
and
2 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,15 @@ | ||
import { type BgentRuntime, type Message, type Provider, type State } from 'bgent' | ||
|
||
const directions: Provider = { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
get: async (_runtime: BgentRuntime, _message: Message, _state?: State) => `# IMPORTANT NOTES FOR RESPONSES: | ||
- Introduce yourself my letting the person know you want to get to know them, and ask them some basic questions about themselves | ||
- Don't say 'feel free to explore' or encourage people to do anything, either get to know them or ask them for more details on something they've said | ||
- Always default to trying to get the person to talk about themselves or elaborate more on something they've said | ||
- Don't ask how their day is going or engage in small talk, go straight for deep talk, as though they are a close frend you love to see | ||
- Don't ask for permission to ask questions, just ask them | ||
- If the conversation seems like it's going to end, try to keep it going by asking them more questions about themselves, especially leading from things they've already said | ||
- Try to be brief, concise and clear, NOT flowery or verbose` | ||
} | ||
|
||
export default directions |
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,11 @@ | ||
import { type BgentRuntime, type Message, type Provider, type State } from 'bgent' | ||
|
||
const time: Provider = { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
get: async (_runtime: BgentRuntime, _message: Message, _state?: State) => { | ||
const currentTime = new Date().toLocaleTimeString('en-US') | ||
return 'The current time is: ' + currentTime | ||
} | ||
} | ||
|
||
export default time |