Uses of Class
com.microsoft.semantickernel.contextvariables.ContextVariableTypeConverter
-
-
Uses of ContextVariableTypeConverter in com.microsoft.semantickernel.contextvariables
Subclasses of ContextVariableTypeConverter in com.microsoft.semantickernel.contextvariables Modifier and Type Class Description static classContextVariableTypeConverter.NoopConverter<T>A converter that does no conversion.Methods in com.microsoft.semantickernel.contextvariables that return ContextVariableTypeConverter Modifier and Type Method Description ContextVariableTypeConverter<T>ContextVariableTypeConverter.Builder. build()Build the context variable type converter.ContextVariableTypeConverter<T>ContextVariableType. getConverter()Get the converter for this type.Methods in com.microsoft.semantickernel.contextvariables with parameters of type ContextVariableTypeConverter Modifier and Type Method Description static voidContextVariableTypes. addGlobalConverter(ContextVariableTypeConverter<?> converter)Add a converter to the global collection of context variable type converters.static <T> ContextVariable<T>ContextVariable. of(T value, ContextVariableTypeConverter<T> converter)Creates a new instance of theContextVariableclass.ContextVariableTypeConverter.Builder<T>ContextVariableTypeConverter.Builder. proxyType(ContextVariableTypeConverter<T> proxy)Make this builder a proxy for another type converter.<T> voidContextVariableTypes. putConverter(ContextVariableTypeConverter<T> contextVariableTypeConverter)Add a converter to thisContextVariableTypesinstance.StringContextVariable. toPromptString(ContextVariableTypes types, ContextVariableTypeConverter<T> converter)Use the givenContextVariableTypeConverterto convert the value of thisContextVariableto a prompt string.Constructors in com.microsoft.semantickernel.contextvariables with parameters of type ContextVariableTypeConverter Constructor Description ContextVariableType(ContextVariableTypeConverter<T> contextVariableTypeConverter, Class<T> clazz)Create a new context variable type.Constructor parameters in com.microsoft.semantickernel.contextvariables with type arguments of type ContextVariableTypeConverter Constructor Description ContextVariableTypes(List<ContextVariableTypeConverter<?>> converters)Create a new collection of context variable types. -
Uses of ContextVariableTypeConverter in com.microsoft.semantickernel.contextvariables.converters
-
Uses of ContextVariableTypeConverter in com.microsoft.semantickernel.orchestration
Methods in com.microsoft.semantickernel.orchestration with parameters of type ContextVariableTypeConverter Modifier and Type Method Description InvocationContext.BuilderInvocationContext.Builder. withContextVariableConverter(ContextVariableTypeConverter<?> converter)Add a context variable type converter to the builder.FunctionInvocation<T>FunctionInvocation. withTypeConverter(ContextVariableTypeConverter<?> typeConverter)Supply a type converter to the function invocation. -
Uses of ContextVariableTypeConverter in com.microsoft.semantickernel.semanticfunctions
Methods in com.microsoft.semantickernel.semanticfunctions with parameters of type ContextVariableTypeConverter Modifier and Type Method Description <T> KernelFunctionArguments.BuilderKernelFunctionArguments.Builder. withInput(T content, ContextVariableTypeConverter<T> typeConverter)Builds an instance with the given content in the default main key<T> KernelFunctionArguments.BuilderKernelFunctionArguments.Builder. withVariable(String key, T value, ContextVariableTypeConverter<T> typeConverter)Set variable
-