-
-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chat help message on load #277
Conversation
for more information, see https://pre-commit.ci
This is great - minor feedback. I think the use of the word "send" in the text is a little awkward and technical in this context. I would more phrase this in human terms using phrases like "ask me a question", "chat with me", etc. |
Co-authored-by: Piyush Jain <[email protected]>
Overall looks and reads well, good job. Couple of points that would improve look and usability from my POV:
|
AI magics are really powerful but are also unique (not something user would know about by default) and not easily discoverable. You can't install a chat panel without installing AI magics so I think it would be good to add a short paragraph about AI magics to the chat placeholder and provide a link to the docs section about them. |
from .base import BaseChatHandler | ||
|
||
HELP_MESSAGE = """Hi there! I'm Jupyternaut, your programming assistant. | ||
You can ask me a question using the text box below. You can also send me commands: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JasonWeill
In line with @ellisonbg's comments, do you want to rephrase this section.
You can ask me a question using the text box below. You can also send me commands: | |
You can ask me a question using the text box below. You can also use these slash commands: |
Updates per feedback from @andrii-i , @3coins , and @ellisonbg . New screen shot: |
Co-authored-by: Andrii Ieroshenko <[email protected]>
* Shortens text box placeholder * Adds help command * Adds link to docs * Simplifies help handler * Initial help message on load * Reverts changes to default.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Copy edit: send -> ask * Update packages/jupyter-ai/jupyter_ai/chat_handlers/help.py Co-authored-by: Piyush Jain <[email protected]> * Simplifies reply logic * Tightens spacing for bulleted lists in markdown * Slash commands, mentions magic commands * Plural notebooks * Update packages/jupyter-ai/jupyter_ai/chat_handlers/help.py Co-authored-by: Andrii Ieroshenko <[email protected]> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Piyush Jain <[email protected]> Co-authored-by: Andrii Ieroshenko <[email protected]>
* Shortens text box placeholder * Adds help command * Adds link to docs * Simplifies help handler * Initial help message on load * Reverts changes to default.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Copy edit: send -> ask * Update packages/jupyter-ai/jupyter_ai/chat_handlers/help.py Co-authored-by: Piyush Jain <[email protected]> * Simplifies reply logic * Tightens spacing for bulleted lists in markdown * Slash commands, mentions magic commands * Plural notebooks * Update packages/jupyter-ai/jupyter_ai/chat_handlers/help.py Co-authored-by: Andrii Ieroshenko <[email protected]> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Piyush Jain <[email protected]> Co-authored-by: Andrii Ieroshenko <[email protected]>
On initial load, or after running
/help
, Jupyternaut now sends a helpful message to the user.Fixes #93. This change also applies minor copy edits to the initial config message. It shortens the chat box placeholder from "Ask JupyterLab anything" to "Ask JupyterLab", so that it no longer appears on two lines at the default width of the left panel.