[GH-ISSUE #1506] DOC: <Issue related to /prompt_engineering/concepts> #12

Open
opened 2026-02-17 17:18:59 -05:00 by yindo · 0 comments
Owner

Originally created by @parkdg13 on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/1506

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.

Originally created by @parkdg13 on GitHub (Jan 23, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/1506 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.
yindo added the langsmithexternal labels 2026-02-17 17:18:59 -05:00
yindo changed title from DOC: <Issue related to /prompt_engineering/concepts> to [GH-ISSUE #1506] DOC: <Issue related to /prompt_engineering/concepts> 2026-06-05 17:24:33 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#12