Skip to content

Commit 93d45a9

Browse files
committed
chore: default prompts
1 parent 3175767 commit 93d45a9

2 files changed

Lines changed: 11 additions & 18 deletions

File tree

internal/api/user/list_prompts.go

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,51 +5,44 @@ import (
55
"sort"
66
"time"
77

8-
"google.golang.org/protobuf/types/known/timestamppb"
98
"paperdebugger/internal/api/mapper"
109
"paperdebugger/internal/libs/contextutil"
1110
userv1 "paperdebugger/pkg/gen/api/user/v1"
11+
12+
"google.golang.org/protobuf/types/known/timestamppb"
1213
)
1314

1415
var defaultPrompts = []*userv1.Prompt{
1516
{
1617
Id: "1",
1718
CreatedAt: timestamppb.New(time.Time{}),
1819
UpdatedAt: timestamppb.New(time.Time{}),
19-
Title: "Improve Academic Writing Style",
20-
Content: "Please help me improve the academic writing style of this text. Focus on making it more formal, precise, and scholarly while maintaining clarity.",
20+
Title: "Enhance Academic Writing (Powered by XtraGPT)",
21+
Content: "Suggest context-aware academic paper writing enhancements for selected text.",
2122
IsUserPrompt: false,
2223
},
2324
{
2425
Id: "2",
2526
CreatedAt: timestamppb.New(time.Time{}),
2627
UpdatedAt: timestamppb.New(time.Time{}),
27-
Title: "Strengthen Arguments",
28-
Content: "Analyze the arguments in this text and suggest ways to strengthen them. Consider logical flow, evidence support, and potential counterarguments that should be addressed.",
28+
Title: "Review (Powered by XtraMCP)",
29+
Content: "Review my paper and identify issues",
2930
IsUserPrompt: false,
3031
},
3132
{
3233
Id: "3",
3334
CreatedAt: timestamppb.New(time.Time{}),
3435
UpdatedAt: timestamppb.New(time.Time{}),
35-
Title: "Academic Citations",
36-
Content: "Review my citations and references. Suggest relevant academic sources that could strengthen my argument and identify any areas where additional citations are needed.",
36+
Title: "Find Relevant Papers (Powered by XtraMCP)",
37+
Content: "Find me relevant papers to read",
3738
IsUserPrompt: false,
3839
},
3940
{
4041
Id: "4",
4142
CreatedAt: timestamppb.New(time.Time{}),
4243
UpdatedAt: timestamppb.New(time.Time{}),
43-
Title: "Literature Review Help",
44-
Content: "Help me improve this literature review section. Suggest ways to better synthesize the research, identify key themes, and highlight gaps in the literature.",
45-
IsUserPrompt: false,
46-
},
47-
{
48-
Id: "5",
49-
CreatedAt: timestamppb.New(time.Time{}),
50-
UpdatedAt: timestamppb.New(time.Time{}),
51-
Title: "Research Methods",
52-
Content: "Review my research methodology section. Suggest improvements for research design, data collection methods, and analysis approach to enhance academic rigor.",
44+
Title: "Deep Research (Powered by XtraMCP)",
45+
Content: "Do deep research and compare my papers against others",
5346
IsUserPrompt: false,
5447
},
5548
}

webapp/_webapp/tsconfig.app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"jsx": "react-jsx",
1717

1818
/* Type resolution */
19-
"types": ["vite/client", "node", "chrome"],
19+
"types": ["vite/client", "node", "chrome", "react"],
2020
"typeRoots": ["./node_modules/@types"],
2121

2222
/* Linting */

0 commit comments

Comments
 (0)