Partager via


ContextVariableTypeConverter.ToPromptStringFunction<T> Interface

Type Parameters

T

the type of ContextVariable to convert

public static interface ContextVariableTypeConverter.ToPromptStringFunction<T>

A function to convert ContextVariable to a prompt string.

Method Summary

Modifier and Type Method and Description
abstract java.lang.String toPromptString(ContextVariableTypes types, T t)

Convert the type to a prompt string.

Method Details

toPromptString

public abstract 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

Applies to