Represents a serialized version of a few-shot template. This type
includes an _type field set to 'few_shot', input_variables which
are an array of strings representing the variables to be used in the
template, examples which can be a string or an array of Example
objects, an optional example_prompt which is a
SerializedPromptTemplate, example_separator which is a string,
optional prefix and suffix strings, and template_format which
specifies the format of the template.
Represents a serialized version of a few-shot template. This type includes an
_type
field set to 'few_shot',input_variables
which are an array of strings representing the variables to be used in the template,examples
which can be a string or an array of Example objects, an optionalexample_prompt
which is a SerializedPromptTemplate,example_separator
which is a string, optionalprefix
andsuffix
strings, andtemplate_format
which specifies the format of the template.