- LLM are good at conditional generation
- P(next token | prompt)
- LLMs are not storing state
- Token size is key for better answers
- Langchain - Build apps with LLM
The different types of prompts - zero shot with limited prompts, reasoning preserve states, simplified step by step prompts
A prompt template can contain:
- instructions to the language model,
- a set of few shot examples to help the language model generate a better response,
- a question to the language model.
A few shot prompt template can be constructed from either a set of examples, or from an Example Selector object.
Few shot examples for chat models
Ref - Link
Keep Exploring!!!
No comments:
Post a Comment