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

DOC: <Issue related to /prompt_engineering/concepts> #645

Open
parkdg13 opened this issue Jan 24, 2025 · 0 comments
Open

DOC: <Issue related to /prompt_engineering/concepts> #645

parkdg13 opened this issue Jan 24, 2025 · 0 comments

Comments

@parkdg13
Copy link

Chat vs Completion
There are two different types of prompts: chat style prompts and completion style prompts.

Chat style prompts are a list of messages. This is the prompting style supported by most model APIs these days, and so this should generally be preferred.

Completion style prompts are just a string. This is an older style of prompting, and so mostly exists for legacy reasons.

The prompt type is written as chat and completion, but in the actual app, it is chat and instruct. Please explain the difference between completion and instruct and if there are any changes.

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

No branches or pull requests

1 participant