Package dev.langchain4j.model.output
Interface OutputParser<T>
- Type Parameters:
T
- the type of the output.
public interface OutputParser<T>
Represents an output parser.
-
Method Summary
Modifier and TypeMethodDescriptionDescription of the text format.Parse the given text.
-
Method Details
-
parse
Parse the given text.- Parameters:
text
- the text to parse.- Returns:
- the parsed output.
-
formatInstructions
String formatInstructions()Description of the text format.- Returns:
- the description of the text format.
-