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.
We have many how-to guides for working with prompts. These include:
- How to use few-shot examples with LLMs
- How to use few-shot examples with chat models
- How to use example selectors
- How to partial prompts
- How to work with message prompts
- How to compose prompts together
- How to create a pipeline prompt
LangChain has a few different types of example selectors you can use off the shelf. You can explore those types here