mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-15 00:11:15 +03:00
Add quick links to new chats
This commit is contained in:
parent
5ac12de5bb
commit
f25115da69
@ -15,10 +15,14 @@
|
|||||||
"suggested_requests": "Try asking:",
|
"suggested_requests": "Try asking:",
|
||||||
"starting_requests": {
|
"starting_requests": {
|
||||||
"show_recent_events": "Show recent events",
|
"show_recent_events": "Show recent events",
|
||||||
"show_camera_status": "Show camera status"
|
"show_camera_status": "Show camera status",
|
||||||
|
"recap": "What happened while I was away?",
|
||||||
|
"watch_camera": "Watch a camera for activity"
|
||||||
},
|
},
|
||||||
"starting_requests_prompts": {
|
"starting_requests_prompts": {
|
||||||
"show_recent_events": "Show me the recent events from the last hour",
|
"show_recent_events": "Show me the recent events from the last hour",
|
||||||
"show_camera_status": "What is the current status of my cameras?"
|
"show_camera_status": "What is the current status of my cameras?",
|
||||||
|
"recap": "What happened while I was away?",
|
||||||
|
"watch_camera": "Watch the front door and let me know if anyone shows up"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,6 +22,14 @@ export function ChatStartingState({ onSendMessage }: ChatStartingStateProps) {
|
|||||||
label: t("starting_requests.show_camera_status"),
|
label: t("starting_requests.show_camera_status"),
|
||||||
prompt: t("starting_requests_prompts.show_camera_status"),
|
prompt: t("starting_requests_prompts.show_camera_status"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: t("starting_requests.recap"),
|
||||||
|
prompt: t("starting_requests_prompts.recap"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: t("starting_requests.watch_camera"),
|
||||||
|
prompt: t("starting_requests_prompts.watch_camera"),
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const handleRequestClick = (prompt: string) => {
|
const handleRequestClick = (prompt: string) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user