Type alias SerializedFewShotTemplate
 
SerializedFewShotTemplate: {     _type: "few_shot";     example_separator: string;     examples: string | Example[];     input_variables: string[];     template_format: TemplateFormat;     example_prompt?: SerializedPromptTemplate;     prefix?: string;     suffix?: string; } 
Type declaration
- 
_type: "few_shot"
 
- 
example_separator: string
 
- 
examples: string | Example[]
 
- 
input_variables: string[]
 
- 
 
- 
 
- 
Optional prefix?: string
 
- 
Optional suffix?: string
 
 
 
 
 
Represents a serialized version of a few-shot template. This type includes an
_typefield set to 'few_shot',input_variableswhich are an array of strings representing the variables to be used in the template,exampleswhich can be a string or an array of Example objects, an optionalexample_promptwhich is a SerializedPromptTemplate,example_separatorwhich is a string, optionalprefixandsuffixstrings, andtemplate_formatwhich specifies the format of the template.