Skip to main content


A prompt for a language model is a set of instructions or input provided by a user to guide the model's response, helping it understand the context and generate relevant and coherent language-based output, such as answering questions, completing sentences, or engaging in a conversation.


This quick start provides a basic overview of how to work with prompts.

How-To Guides

We have many how-to guides for working with prompts. These include:

Example Selector Types

LangChain has a few different types of example selectors you can use off the shelf. You can explore those types here

Help us out by providing feedback on this documentation page: