Uses of Class
com.microsoft.semantickernel.contextvariables.ContextVariableTypes
-
-
Uses of ContextVariableTypes in com.microsoft.semantickernel.contextvariables
Methods in com.microsoft.semantickernel.contextvariables that return ContextVariableTypes Modifier and Type Method Description static ContextVariableTypesContextVariableTypes. getGlobalTypes()Methods in com.microsoft.semantickernel.contextvariables with parameters of type ContextVariableTypes Modifier and Type Method Description static <T,U>
ContextVariable<T>ContextVariable. convert(U it, Class<T> requestedResultType, ContextVariableTypes contextVariableTypes)Converts the given value to the requested result type.voidContextVariableTypes. putConverters(ContextVariableTypes contextVariableTypes)Add all the converters from the given collection to this collection.<U> UContextVariableTypeConverter. toObject(ContextVariableTypes types, Object t, Class<U> clazz)Use this converter to convert the object to the type of the context variable.StringContextVariable. toPromptString(ContextVariableTypes types)Use the givenContextVariableTypeConverterto convert the value of thisContextVariableto a prompt string.StringContextVariable. toPromptString(ContextVariableTypes types, ContextVariableTypeConverter<T> converter)Use the givenContextVariableTypeConverterto convert the value of thisContextVariableto a prompt string.StringContextVariableTypeConverter. toPromptString(ContextVariableTypes types, T t)Convert the type to a prompt string using thetoPromptStringfunction provided to the constructor.StringContextVariableTypeConverter.ToPromptStringFunction. toPromptString(ContextVariableTypes types, T t)static ContextVariable<?>ContextVariable. untypedOf(Object value, Class<?> clazz, ContextVariableTypes types)Creates a new instance of theContextVariableclass without using strong typing.Constructors in com.microsoft.semantickernel.contextvariables with parameters of type ContextVariableTypes Constructor Description ContextVariableTypes(ContextVariableTypes contextVariableTypes)Create a new collection of context variable types. -
Uses of ContextVariableTypes in com.microsoft.semantickernel.contextvariables.converters
Methods in com.microsoft.semantickernel.contextvariables.converters with parameters of type ContextVariableTypes Modifier and Type Method Description <U> UPrimitiveVariableContextVariableTypeConverter. toObject(ContextVariableTypes types, Object t, Class<U> clazz) -
Uses of ContextVariableTypes in com.microsoft.semantickernel.hooks
Constructors in com.microsoft.semantickernel.hooks with parameters of type ContextVariableTypes Constructor Description PreToolCallEvent(String functionName, KernelFunctionArguments arguments, KernelFunction<?> function, ContextVariableTypes contextVariableTypes)Creates a new instance of thePreToolCallEventclass. -
Uses of ContextVariableTypes in com.microsoft.semantickernel.orchestration
Methods in com.microsoft.semantickernel.orchestration that return ContextVariableTypes Modifier and Type Method Description ContextVariableTypesInvocationContext. getContextVariableTypes()Get the types of context variables.Methods in com.microsoft.semantickernel.orchestration with parameters of type ContextVariableTypes Modifier and Type Method Description InvocationContext.BuilderInvocationContext.Builder. withContextVariableConverter(ContextVariableTypes contextVariableTypes)Add a context variable type converter to the builder.FunctionInvocation<T>FunctionInvocation. withTypes(ContextVariableTypes contextVariableTypes)Supply a context variable type to the function invocation.
-