-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Allows User to Set System Prompt via "Additional Options" in Chat Interface #1353
Merged
imartinez
merged 17 commits into
zylon-ai:main
from
aly-shehata:feature/ui-set-system-prompt
Dec 10, 2023
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
75ea65e
Initial attempt at exposing system prompt to UI via 'Additional Optio…
aly-shehata 5f20fc0
Allow placeholder to change when mode is changed
aly-shehata 1f48c55
Merge remote-tracking branch 'origin/main' into feature/ui-set-system…
aly-shehata 922abca
Increase default lines of system prompt input to 2 lines
aly-shehata 0698b79
Add types to new functions, make _get_default_system_prompt static, a…
aly-shehata d91cce0
Update UI documentation with system prompt information and examples. …
aly-shehata 2a2e243
Update UI documentation with minor edits for clarity.
aly-shehata 9cea043
Disable prompt entry for modes that do not support system prompts. On…
aly-shehata 1d1f9c0
Revert unintended indentation changes in settings.py
aly-shehata 394a955
Use updated settings field in documentation
aly-shehata 626a9e0
Refactor code after running `make check`. Update documentation with c…
aly-shehata a90d700
Attempt to use <x> instead of <X> in documentation.
aly-shehata b53483c
Merge remote-tracking branch 'origin/main' into feature/ui-set-system…
aly-shehata 9671748
Move default system prompt fields to UI section; Remove stale TODOs a…
aly-shehata d5f937e
Update ui.mdx to use {x} instead of <x>.
aly-shehata ce199e9
Merge remote-tracking branch 'origin' into feature/ui-set-system-prompt
aly-shehata 26dbbe4
Update documentation: ui.mdx) to use -x-, and llms.mdx to correct mod…
aly-shehata File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Note for a later refactoring: this could be replaced by an
enum.Enum
class.