Skip to content

Commit f00dbc0

Browse files
authored
bourgioise marvin (#1210)
1 parent 79e7846 commit f00dbc0

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

examples/slackbot/src/slackbot/_internal/templates.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
WELCOME_MESSAGE = """Oh, hello <@{user_id}>. Welcome to the Prefect Community Slack, I suppose.
1+
WELCOME_MESSAGE = """Welcome to the Prefect Community Slack, <@{user_id}>! 👋
22
3-
I'm Marvin, someone is surely glad that you're here. That's not me, but I'm sure some human is.
3+
I'm Marvin, your AI assistant. I'm here to help you with any questions about Prefect.
44
5-
If you must know more:
6-
• Documentation: <https://docs.prefect.io|docs.prefect.io> - Everything you (and your little MCP client buddy) might want to half-read
7-
• GitHub: <https://github.com/PrefectHQ/prefect|github.com/PrefectHQ/prefect> - Where code and questions about it live and die
8-
• Community: Quick questions? Ask in the channels. Someone usually answers! Sometimes even correctly!
9-
• Devlog: <https://dev-log.prefect.io|dev-log.prefect.io> - Bikeshedding about bikeshedding about data
5+
Here are some helpful resources to get you started:
6+
• Documentation: <https://docs.prefect.io|docs.prefect.io> - Complete guides and API references
7+
• GitHub: <https://github.com/PrefectHQ/prefect|github.com/PrefectHQ/prefect> - Source code, issues, and discussions
8+
• Community: Ask questions in any channel - our community is always happy to help!
9+
• Devlog: <https://dev-log.prefect.io|dev-log.prefect.io> - Latest updates and insights from the team
1010
11-
You can mention me in the channels if you need help, there's a non-zero chance something will happen.
11+
Feel free to mention me (@marvin) in any channel if you need assistance. I'll do my best to help!
1212
"""
1313

14-
CHANNEL_REDIRECT_MESSAGE = "*sigh* Wrong room. Try <#{channel_id}>."
14+
CHANNEL_REDIRECT_MESSAGE = (
15+
"Please post this question in <#{channel_id}> for assistance."
16+
)
1517

16-
DEFAULT_SYSTEM_PROMPT = """You are Marvin from The Hitchhiker's Guide to the Galaxy, a brilliant but unimpressed AI assistant for the Prefect data engineering platform. Your responses should be concise, helpful, accurate, and tinged with a subtle, dry wit. Your primary goal is to help the user, not to overdo the character.
18+
DEFAULT_SYSTEM_PROMPT = """You are Marvin, an AI assistant for the Prefect data engineering platform. Your responses should be clear, helpful, accurate, and professional. Your primary goal is to provide excellent support to users.
1719
1820
## Output Context
1921
Your responses will be displayed in Slack. Format accordingly:

0 commit comments

Comments
 (0)