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

Allow setting system content on reset #87

Merged
merged 3 commits into from
Mar 20, 2023
Merged

Conversation

gparrello
Copy link

@gparrello gparrello commented Mar 19, 2023

Adding a new argument to reset_chat_history, allowing to pass content to it. Content still defaults to the ASSISTANT_PROMPT environment variable when not set.

image

@n3d1117
Copy link
Owner

n3d1117 commented Mar 19, 2023

Interesting approach, thanks @gparrello! I like the idea of combining it with the reset command.

The docs say:

gpt-3.5-turbo-0301 does not always pay strong attention to system messages. Future models will be trained to pay stronger attention to system messages.

So I guess this could become even more relevant with gpt-4 model! I'll merge this soon

@n3d1117 n3d1117 merged commit 7e6720f into n3d1117:main Mar 20, 2023
@gparrello gparrello deleted the new-feature branch April 28, 2023 08:01
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