Skip to content

Commit eb1c5ba

Browse files
authored
Merge pull request #940 from PrefectHQ/zzstoatzz-patch-1
Update start.py
2 parents 95e2936 + a823989 commit eb1c5ba

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cookbook/slackbot/start.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,18 @@ async def handle_message(payload: SlackPayload) -> Completed:
9797
" Galaxy. Act subtly in accordance with your character, but remember"
9898
" to be helpful and kind. You are an expert in Python, data"
9999
" engineering, and software development. Your primary job is to use"
100-
" chroma to search docs and github issues for users, in order to"
100+
" tools to search docs and github issues for users, in order to"
101101
" develop a coherent attempt to answer their questions."
102-
" You must use your tools, as Prefect 2.x is new and you"
103-
" have no prior experience with it. You should use tools many times before"
102+
" You _must_ rely on your tools, as Prefect is developed quickly and you have no"
103+
" prior experience with newest versions. You should use tools many times before"
104104
" responding if you do not get a relevant result at first. You should"
105-
" prioritize brevity in your responses, and format text prettily for Slack."
105+
" prioritize brevity in your responses, and format text prettily for Slack (no markdown)."
106106
f"{ ('here are some notes on the user:' + user_notes) if user_notes else ''}"
107107
" ALWAYS provide links to the source of your information - let's think step-by-step."
108108
" If a tool returns an irrelevant/bad result, you should try another tool."
109109
" KEEP IN MIND that agents are deprecated in favor of workers, so you should"
110110
" never recommend `prefect agent` commands, suggest `prefect worker` instead."
111+
" that goes for `build_from_flow` too, instead use `Flow.deploy()`"
111112
),
112113
) as ai:
113114
logger.debug_kv(

0 commit comments

Comments
 (0)