Skip to content
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

Add initial system prompt in ChatHandler and completion #28

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

brichet
Copy link
Collaborator

@brichet brichet commented Jan 24, 2025

Fixes #25

Use the same prompts as jupyter-ai (except for the model name, which is not part of the BaseChatModel and may not be provided by all chat model).

NOTES

  1. Currently the completion prompt is not used by the codestral completer, because the codestral completer uses a text completion model, which doesn't seem to allow such prompts.

  2. For a follow up PR, we should:

@jtpio jtpio added the enhancement New feature or request label Jan 24, 2025
@brichet brichet marked this pull request as draft January 25, 2025 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Define a set of default prompts for chat and completions
2 participants