Skip to content

Commit 390cf6a

Browse files
authored
Feature/improve onboarding prompt (#77)
* enable terminate virtual workspace tool * fix terminate virtual workspace tool * adapt terminate virtual workspace if elicitation is not supported by client * improve onboarding prompt
1 parent ee4bbac commit 390cf6a

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

changelog/0.5.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
## Added
44

55
- Enabled `terminate_virtual_workspace` tool with safety confirmation ellicitation
6-
- New `onboarding_user` prompt to guide users through the initial helios setup process
6+
- New `database_onboarding` prompt to guide users through the process of setting up a new database
77
- New `help` prompt to provide an overview of the SingleStore MCP server capabilities, available tools, resources, and prompts

src/api/prompts/prompts.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def onboarding_helios_user() -> list:
2121
"Let's create a starter workspace if I don't have one yet. Then, populate the database with sample data.",
2222
),
2323
AssistantMessage(
24-
"Step 3: Load sample data into your new database. Try running this SQL in your virtual workspace:"
24+
"Step 3: First, let's create a table to store our sample customer data:"
2525
),
2626
AssistantMessage(
2727
"""\
@@ -31,13 +31,15 @@ def onboarding_helios_user() -> list:
3131
email VARCHAR(100),
3232
country VARCHAR(50),
3333
PRIMARY KEY (id)
34-
);
35-
34+
);"""
35+
),
36+
AssistantMessage("Great! Now let's add some sample data to our table:"),
37+
AssistantMessage(
38+
"""\
3639
INSERT INTO sample_customers VALUES
3740
(1, 'John Doe', 'john@example.com', 'USA'),
3841
(2, 'Jane Smith', 'jane@example.com', 'Canada'),
39-
(3, 'Alice Johnson', 'alice@example.com', 'UK');
40-
"""
42+
(3, 'Alice Johnson', 'alice@example.com', 'UK');"""
4143
),
4244
AssistantMessage("Step 4: Try your first query!"),
4345
UserMessage("Let's run a simple select query to see our data."),

0 commit comments

Comments
 (0)