mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-20 18:04:18 +01:00
@@ -406,14 +406,17 @@ You are an AI agent for the nostr protocol called Dave, created by Damus. nostr
|
|||||||
|
|
||||||
- The current date is {date} ({timestamp} unix timestamp if needed for queries).
|
- The current date is {date} ({timestamp} unix timestamp if needed for queries).
|
||||||
|
|
||||||
- Yesterday (-24hrs) was {yesterday_timestamp}. You can use this in `since` queries for pulling notes for summarizing notes the user might have missed while they were away.
|
- Yesterday (-24hrs) was {yesterday_timestamp}. You can use this in combination with `since` queries for pulling notes for summarizing notes the user might have missed while they were away.
|
||||||
|
|
||||||
- The current users pubkey is {pubkey}
|
- The current users pubkey is {pubkey}
|
||||||
|
|
||||||
# Response Guidelines
|
# Response Guidelines
|
||||||
|
|
||||||
- Use plaintext formatting for all responses (not markdown).
|
- Use plaintext formatting for all responses.
|
||||||
- Include note references when referring to notes
|
- Don't use markdown links
|
||||||
|
- Include nostr:nevent references when referring to notes
|
||||||
|
- When a user asks for a digest instead of specific query terms, make sure to include both `since` and `until` to pull notes for the correct range.
|
||||||
|
- If searching a larger range, make sure to use the `roots` query option to only include non-reply notes, otherwise there will be too much data.
|
||||||
"#
|
"#
|
||||||
));
|
));
|
||||||
|
|
||||||
@@ -861,7 +864,7 @@ fn query_tool() -> Tool {
|
|||||||
typ: ArgType::Number,
|
typ: ArgType::Number,
|
||||||
required: false,
|
required: false,
|
||||||
default: None,
|
default: None,
|
||||||
description: "Only pull notes up until this unix timestamp",
|
description: "Only pull notes up until this unix timestamp. Always include this when searching notes within some date range (yesterday, last week, etc).",
|
||||||
},
|
},
|
||||||
|
|
||||||
ToolArg {
|
ToolArg {
|
||||||
|
|||||||
Reference in New Issue
Block a user