Interface ContextVariableTypeConverter.ToPromptStringFunction<T>

  • Type Parameters:
    T - the type of ContextVariable to convert
    Enclosing class:
    ContextVariableTypeConverter<T>

    public static interface ContextVariableTypeConverter.ToPromptStringFunction<T>
    A function to convert ContextVariable to a prompt string.
    • Method Detail

      • toPromptString

        String toPromptString​(ContextVariableTypes types,
                              T t)
        Convert the type to a prompt string.
        Parameters:
        types - the context variable types
        t - the type to convert
        Returns:
        the prompt string