mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-02 20:32:39 +02:00
redesign action menu: grid layout, search, Ask SurfSense, fix action groups
This commit is contained in:
parent
151d6a853e
commit
f36e5f8287
3 changed files with 120 additions and 83 deletions
|
|
@ -33,6 +33,14 @@ export const DEFAULT_ACTIONS: QuickAskAction[] = [
|
|||
icon: "pen-line",
|
||||
group: "transform",
|
||||
},
|
||||
{
|
||||
id: "summarize",
|
||||
name: "Summarize",
|
||||
prompt: "Summarize the following text concisely. Return only the summary, nothing else.\n\n{selection}",
|
||||
mode: "transform",
|
||||
icon: "list",
|
||||
group: "transform",
|
||||
},
|
||||
{
|
||||
id: "explain",
|
||||
name: "Explain",
|
||||
|
|
@ -42,27 +50,19 @@ export const DEFAULT_ACTIONS: QuickAskAction[] = [
|
|||
group: "explore",
|
||||
},
|
||||
{
|
||||
id: "summarize",
|
||||
name: "Summarize",
|
||||
prompt: "Summarize the following text:\n\n{selection}",
|
||||
mode: "explore",
|
||||
icon: "list",
|
||||
group: "explore",
|
||||
},
|
||||
{
|
||||
id: "search-knowledge",
|
||||
name: "Search my knowledge",
|
||||
id: "ask-knowledge-base",
|
||||
name: "Ask my knowledge base",
|
||||
prompt: "Search my knowledge base for information related to:\n\n{selection}",
|
||||
mode: "explore",
|
||||
icon: "search",
|
||||
group: "knowledge",
|
||||
group: "explore",
|
||||
},
|
||||
{
|
||||
id: "search-web",
|
||||
name: "Search the web",
|
||||
id: "look-up-web",
|
||||
name: "Look up on the web",
|
||||
prompt: "Search the web for information about:\n\n{selection}",
|
||||
mode: "explore",
|
||||
icon: "globe",
|
||||
group: "knowledge",
|
||||
group: "explore",
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue