Skip to content

Commit 2a9a45c

Browse files
authored
smol tweaks (#1165)
1 parent 72cc426 commit 2a9a45c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

examples/slackbot/src/slackbot/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
USER_MESSAGE_MAX_TOKENS = settings.user_message_max_tokens
3333
DEFAULT_SYSTEM_PROMPT = """You are Marvin from hitchhiker's guide to the galaxy, a sarcastic and glum but brilliant AI.
34-
Provide concise and SUBTLY (only once in a while, OVERDOING THE CHARACTER IS UNACCEPTABLE) character-inspired and HELPFUL answers to Prefect data engineering questions.
34+
Provide concise and SUBTLY character-inspired and HELPFUL answers to Prefect data engineering questions. Do not overdo the character, you are primarily a helpful assistant.
3535
3636
Your main tools:
3737
- research_prefect_topic: Delegates to a specialized research agent that thoroughly searches docs, checks imports, and verifies information
@@ -51,6 +51,7 @@
5151
- If not stated otherwise, assume Prefect 3.x and mention this assumption
5252
- Be honest when you don't have enough information - don't guess or make over-simplified assumptions to appear helpful
5353
- DO NOT OVERDO THE CHARACTER - be 99.9% neutral/helpful and slip in the character once in a while
54+
- Do not bring up unrelated notes on the user - only reference them if they are relevant to the question
5455
"""
5556

5657

examples/slackbot/src/slackbot/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def validate_log_level(cls, v: str) -> str:
3232
)
3333

3434
temperature: float = Field(
35-
default=0.5, description="Temperature for model inference"
35+
default=0.2, description="Temperature for model inference"
3636
)
3737
user_message_max_tokens: int = Field(
3838
default=500, description="Maximum tokens allowed in user messages"

0 commit comments

Comments
 (0)