You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/api/user/list_prompts.go
+26-10Lines changed: 26 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -13,44 +13,60 @@ import (
13
13
)
14
14
15
15
vardefaultPrompts= []*userv1.Prompt{
16
+
{
17
+
Id: "1",
18
+
CreatedAt: timestamppb.New(time.Time{}),
19
+
UpdatedAt: timestamppb.New(time.Time{}),
20
+
Title: "Tool List",
21
+
Content: "List available MCP tools with a brief description for each tool.",
22
+
IsUserPrompt: false,
23
+
},
16
24
{
17
25
Id: "2",
18
26
CreatedAt: timestamppb.New(time.Time{}),
19
27
UpdatedAt: timestamppb.New(time.Time{}),
20
-
Title: "Search Relevant Papers (Powered by XtraMCP)",
21
-
Content: "First, understand my paper and extract the key ideas into an optimized query to find papers that are relevant to my work. Then search for relevant papers to read.\n\nOptional Args:\ntop_k: 10\nStart Date: None (e.g. 2018-12-31)\nEnd Date: None (e.g. 2025-12-31)",
Content: "You are a research assistant helping to retrieve related academic papers.\n\nStep 1 — Query synthesis:\nCarefully read the provided paper content.\nExtract the core technical ideas, methods, problem setting, and application domain.\nProduce ONE concise, high-signal search query optimized for academic paper retrieval.\n- Prefer technical keywords and established terminology\n- Include model names, task names, or methodological frameworks when applicable\n- Avoid unnecessary elaboration, prose, or citations\n\nStep 2 — Tool invocation:\nCall `search_relevant_papers` using the synthesized query.\n\nTool parameters:\n- query: <your synthesized query>\n- top_k: 10\n- start_date: 2018-12-31\n- end_date: 2025-12-31",
22
30
IsUserPrompt: false,
23
31
},
24
32
{
25
33
Id: "3",
26
34
CreatedAt: timestamppb.New(time.Time{}),
27
35
UpdatedAt: timestamppb.New(time.Time{}),
28
-
Title: "Paper Review (Powered by XtraMCP)",
29
-
Content: "Call review_paper and evaluate my paper.\n\nOptional Args:\nTarget Venue: None (e.g. ICML, NeurIPS, CVPR)\nSeverity Level (blocker | major | minor | nit): Major\nSpecific Sections (default: entire paper): None (e.g. Abstract, Results, <section name in paper>)",
36
+
Title: "Paper Review (XtraMCP's Reviewer)",
37
+
Content: "Call `review_paper` and evaluate my paper.\n\nTool parameters:\nTarget Venue: None (e.g. ICML, NeurIPS, CVPR)\nSeverity Level (blocker | major | minor | nit): Major\nSpecific Sections (default: entire paper): None (e.g. Abstract, Results, <section name in paper>)",
30
38
IsUserPrompt: false,
31
39
},
32
40
{
33
41
Id: "4",
34
42
CreatedAt: timestamppb.New(time.Time{}),
35
43
UpdatedAt: timestamppb.New(time.Time{}),
36
-
Title: "Verify Citations (Powered by XtraMCP)",
37
-
Content: "Call verify_citations to check the validity of all citations in my paper and identify any potential issues such as incorrect formatting, missing information, or inaccurate references.",
44
+
Title: "Verify Citations (XtraMCP's Reviewer)",
45
+
Content: "Call `verify_citations` to check the validity of all citations in my paper and identify any potential issues such as incorrect formatting, missing information, or inaccurate references.",
38
46
IsUserPrompt: false,
39
47
},
40
48
{
41
49
Id: "5",
42
50
CreatedAt: timestamppb.New(time.Time{}),
43
51
UpdatedAt: timestamppb.New(time.Time{}),
44
-
Title: "Deep Research (Powered by XtraMCP)",
45
-
Content: "First, understand my paper and extract the key ideas into an optimized query. Do deep research and compare my paper against others.",
52
+
Title: "Generate Citations (XtraMCP's Reviewer)",
53
+
Content: "Call `generate_citations` to create properly formatted citations for my paper based on the provided references.\n\nTool parameters:\n- links: [\n\t# paste URLs, arXiv IDs, DOIs, or titles\n\t# eg.: XtraGPT: Context-Aware and Controllable Academic Paper Revision\n\t...\n]",
46
54
IsUserPrompt: false,
47
55
},
48
56
{
49
57
Id: "6",
50
58
CreatedAt: timestamppb.New(time.Time{}),
51
59
UpdatedAt: timestamppb.New(time.Time{}),
52
-
Title: "Online Research (Powered by XtraMCP)",
53
-
Content: "Understand my paper and run online search to find the latest papers related to my work.",
60
+
Title: "Deep Research (XtraMCP's Researcher)",
61
+
Content: "You are a research assistant helping to retrieve related academic papers to prepare for Deep Research.\n\nStep 1 — Query synthesis:\nCarefully read the provided paper content.\nExtract the core technical ideas, methods, problem setting, and application domain.\nProduce ONE concise, high-signal search query optimized for academic paper retrieval.\n- Prefer technical keywords and established terminology\n- Include model names, task names, or methodological frameworks when applicable\n- Avoid unnecessary elaboration, prose, or citations\n\nStep 2 — Tool invocation:\nCall `deep_research` using the synthesized query.\n\nTool parameters:\n- query: <your synthesized query>",
62
+
IsUserPrompt: false,
63
+
},
64
+
{
65
+
Id: "7",
66
+
CreatedAt: timestamppb.New(time.Time{}),
67
+
UpdatedAt: timestamppb.New(time.Time{}),
68
+
Title: "Online Research (XtraMCP's Researcher)",
69
+
Content: "You are a research assistant assisting with a recency-focused academic literature search.\n\nStep 1 — Keyword extraction:\nCarefully read the paper and extract a set of high-recall search keywords, including:\n- core task names and problem statements\n- methodological approaches and system types\n- application domains\n- commonly used synonyms and alternative phrasings\n- well-known model or framework names if relevant and widely used\n\nPrefer established terminology used in paper titles and abstracts.\nAvoid internal project names or marketing labels.\n\nStep 2 — Query construction:\nConstruct a keyword-based search query optimized for lexical search:\n- Use keyword phrases rather than full sentences\n- Combine terms using natural keyword adjacency (not prose)\n- Bias toward recall over precision\n\nStep 3 — Online retrieval:\nCall `online_search_papers` using the constructed query to find recent papers outside the internal database.",
<divclassName="mb-2 italic">⚠️ [Experimental Feature] Some BibTeX entries may not be able to be generated.<br/>Report if you encounter an unknown issue.</div>
0 commit comments