Class TextContentVariableContextVariableTypeConverter
- java.lang.Object
-
- com.microsoft.semantickernel.contextvariables.ContextVariableTypeConverter<TextContent>
-
- com.microsoft.semantickernel.contextvariables.converters.TextContentVariableContextVariableTypeConverter
-
public class TextContentVariableContextVariableTypeConverter extends ContextVariableTypeConverter<TextContent>
A converter for a context variable type. This class is used to convert objects to and from a prompt string, and to convert objects to the type of the context variable.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microsoft.semantickernel.contextvariables.ContextVariableTypeConverter
ContextVariableTypeConverter.Builder<T>, ContextVariableTypeConverter.Converter<T,U>, ContextVariableTypeConverter.DefaultConverter<T,U>, ContextVariableTypeConverter.NoopConverter<T>, ContextVariableTypeConverter.ToPromptStringFunction<T>
-
-
Constructor Summary
Constructors Constructor Description TextContentVariableContextVariableTypeConverter()Initializes a new instance of theTextContentVariableContextVariableTypeConverterclass.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringescapeXmlStringValue(TextContent value)-
Methods inherited from class com.microsoft.semantickernel.contextvariables.ContextVariableTypeConverter
builder, escapeXmlString, fromObject, fromPromptString, getType, toObject, toPromptString
-
-
-
-
Constructor Detail
-
TextContentVariableContextVariableTypeConverter
public TextContentVariableContextVariableTypeConverter()
Initializes a new instance of theTextContentVariableContextVariableTypeConverterclass.
-
-
Method Detail
-
escapeXmlStringValue
@Nullable public static String escapeXmlStringValue(@Nullable TextContent value)
-
-