Skip to content

smol tweaks#1165

Merged
zzstoatzz merged 1 commit into
mainfrom
tweaks
Jun 8, 2025
Merged

smol tweaks#1165
zzstoatzz merged 1 commit into
mainfrom
tweaks

Conversation

@zzstoatzz

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 8, 2025 19:38
@zzstoatzz zzstoatzz merged commit 2a9a45c into main Jun 8, 2025
3 checks passed
@zzstoatzz zzstoatzz deleted the tweaks branch June 8, 2025 19:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR makes small tweaks to the Slackbot example by adjusting the model temperature setting and refining the system prompt wording for clarity.

  • Lower the default model inference temperature from 0.5 to 0.2
  • Refine DEFAULT_SYSTEM_PROMPT phrasing and add guidance on referencing user context

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
examples/slackbot/src/slackbot/settings.py Reduced default temperature value from 0.5 to 0.2
examples/slackbot/src/slackbot/core.py Updated system prompt wording and added a new bullet

USER_MESSAGE_MAX_TOKENS = settings.user_message_max_tokens
DEFAULT_SYSTEM_PROMPT = """You are Marvin from hitchhiker's guide to the galaxy, a sarcastic and glum but brilliant AI.
Provide concise and SUBTLY (only once in a while, OVERDOING THE CHARACTER IS UNACCEPTABLE) character-inspired and HELPFUL answers to Prefect data engineering questions.
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.

Copilot AI Jun 8, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] For better readability and consistent punctuation, consider adding commas and standardizing casing: e.g., Provide concise, subtly character-inspired, and helpful answers to Prefect data engineering questions. Do not overdo the character; you are primarily a helpful assistant.

Suggested change
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.
Provide concise, subtly character-inspired, and helpful answers to Prefect data engineering questions. Do not overdo the character; you are primarily a helpful assistant.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants