Uses of Interface
com.tnsai.parser.OutputParser
Packages that use OutputParser
Package
Description
Agent classes and lifecycle management for the TnsAI framework.
Agent chat orchestration for LLM invocation, history management, and tool call handling.
Agent orchestration — chat, streaming, tool execution, and knowledge base management.
LLM output parsing with retry and validation support.
-
Uses of OutputParser in com.tnsai.agents
Methods in com.tnsai.agents with parameters of type OutputParserModifier and TypeMethodDescriptionfinal <T> TAgent.chatWithStructure(String message, OutputParser<T> parser, int maxRetries) Sends a message and returns a structured, validated response using guardrails pattern.final <T> TAgent.chatWithStructure(String message, OutputParser<T> parser, int maxRetries, ChatRetrievalContext retrievalContext) Structured chat with request-local retrieval isolation and lifecycle context. -
Uses of OutputParser in com.tnsai.agents.chat
Methods in com.tnsai.agents.chat with parameters of type OutputParserModifier and TypeMethodDescription<T> TAgentChatOrchestrator.chatWithStructure(String message, OutputParser<T> parser, int maxRetries) Sends a message and returns a structured, validated response using guardrails pattern.<T> TAgentChatOrchestrator.chatWithStructure(String message, OutputParser<T> parser, int maxRetries, ChatRetrievalContext retrievalContext) Sends a structured chat turn with request-local retrieval context. -
Uses of OutputParser in com.tnsai.agents.orchestration
Methods in com.tnsai.agents.orchestration with parameters of type OutputParserModifier and TypeMethodDescription<T> TAgentOrchestrator.chatWithStructure(String message, OutputParser<T> parser, int maxRetries) <T> TAgentOrchestrator.chatWithStructure(String message, OutputParser<T> parser, int maxRetries, ChatRetrievalContext retrievalContext) -
Uses of OutputParser in com.tnsai.parser
Classes in com.tnsai.parser that implement OutputParserModifier and TypeClassDescriptionclassOutput parser that supports multiple formats (JSON, YAML, TOON, TONL).classJSON-based output parser that converts LLM JSON output into Java objects.classWrapper that adds retry-with-error-correction capability to any OutputParser.Methods in com.tnsai.parser with parameters of type OutputParserModifier and TypeMethodDescriptionstatic <T> RetryableParser.Builder<T> RetryableParser.wrap(OutputParser<T> parser) Creates a builder wrapping the given parser.