Namespace DotnetPrompt.Prompts
Classes
ChatMessageTemplate
Prompt template of chat message
ChatMLPromptTemplate
PromptTemplate for generating ChatML messages
ChatRoles
List of chatml roles
FewShotPromptTemplate
The FewShotPromptTemplate class allows developers to create prompts for natural language processing (NLP) models using few-shot learning techniques. This class takes in a prefix, examples, and suffix, and combines them with a separator to generate a prompt for the language model.
PromptTemplate
Schema to represent a prompt for an LLM based on formatted string