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

Loading system prompt from file: #61

Merged
merged 1 commit into from
Jul 13, 2023
Merged

Loading system prompt from file: #61

merged 1 commit into from
Jul 13, 2023

Conversation

maddes8cht
Copy link

I think the -e option should handle not only the prompt (-p) but also the system prompt (-sys). Also, there should be support for the system prompt to read from a file as well as the prompt. This PR implements both of these:

Added support for loading the system prompt from a file:
Introduction of -sysf FNAME and --system-file FNAME command line options.

Improved processing of the -e escape sequence for both the prompt and the system prompt.

Introduction `-sysf FNAME` / `--system-file FNAME`
-e` escapes both prompt and the system
@cmp-nct
Copy link
Owner

cmp-nct commented Jul 13, 2023

good idea, merging it

@cmp-nct cmp-nct merged commit 5fac4dc into cmp-nct:master Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants