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

refactor: gpt-3 prompt to be more concise #57

Merged
merged 2 commits into from
Feb 16, 2023

Conversation

privatenumber
Copy link
Collaborator

Problem

The prompt message takes up precious character count, so it should always be as short as possible.

Changes

I played around with https://chat.openai.com and this prompt seems to work pretty well.

I think the "I want you to act like a ..." prompt works well when there's a dialogue, but in this case, I think being direct is better.

@privatenumber privatenumber merged commit 2f215b2 into Nutlope:main Feb 16, 2023
@privatenumber privatenumber deleted the refactor-prompt branch February 16, 2023 07:52
@Nutlope
Copy link
Owner

Nutlope commented Feb 16, 2023

@privatenumber Just FYI, chat.openai.com is chatGPT and I've noticed GPT-3 specifically returns different results. If you want to test prompts in the future, I recommend using OpenAI's playground. Going to try out this new prompt locally before publishing a new npm version. With that said, this looks like a good change :)

@marcusziade
Copy link
Contributor

Nice diff

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.

3 participants