Uses of Class
com.tnsai.llm.ChatResponse
Packages that use ChatResponse
Package
Description
Agent chat orchestration for LLM invocation, history management, and tool call handling.
Agent execution components including LLM orchestration, tool processing, and memory management.
Agent orchestration — chat, streaming, tool execution, and knowledge base management.
LLM (Large Language Model) client interfaces and abstractions.
-
Uses of ChatResponse in com.tnsai.agents.chat
Methods in com.tnsai.agents.chat with parameters of type ChatResponseModifier and TypeMethodDescriptionAgentChatOrchestrator.ChatContext.executeToolCalls(ChatResponse response, boolean useHistory) Executes tool calls from a ChatResponsedefault StringAgentChatOrchestrator.ChatContext.executeToolCalls(ChatResponse response, boolean useHistory, String retrievalQuery, ChatRetrievalContext retrievalContext) Executes tool calls while preserving the originating RAG turn. -
Uses of ChatResponse in com.tnsai.agents.execution
Methods in com.tnsai.agents.execution with parameters of type ChatResponseModifier and TypeMethodDescriptionLLMOrchestrator.ToolCallHandler.execute(ChatResponse response, boolean useHistory) Executes tool calls from a ChatResponse.AgentToolExecutor.executeToolCalls(ChatResponse chatResponse, boolean useHistory) Executes tool calls from an LLM response.AgentToolExecutor.executeToolCalls(ChatResponse chatResponse, boolean useHistory, String retrievalQuery, ChatRetrievalContext retrievalContext) Executes a tool loop while preserving the originating RAG turn. -
Uses of ChatResponse in com.tnsai.agents.orchestration
Methods in com.tnsai.agents.orchestration with parameters of type ChatResponseModifier and TypeMethodDescriptionAgentOrchestrator.executeToolCalls(ChatResponse chatResponse, boolean useHistory) AgentOrchestrator.executeToolCalls(ChatResponse chatResponse, boolean useHistory, String retrievalQuery, ChatRetrievalContext retrievalContext) -
Uses of ChatResponse in com.tnsai.llm
Methods in com.tnsai.llm that return ChatResponseModifier and TypeMethodDescriptionFallbackLLMClient.chat(ChatRequest request) FallbackLLMClient.chat(String message, Optional<String> systemPrompt, Optional<List<Map<String, Object>>> history, Optional<List<Map<String, Object>>> tools) default ChatResponseLLMClient.chat(ChatRequest request) Sends a chat request using the unifiedChatRequestmodel.default ChatResponseSimplified chat without system prompt or history.default ChatResponseSimplified chat with system prompt.LLMClient.chat(String message, Optional<String> systemPrompt, Optional<List<Map<String, Object>>> history, Optional<List<Map<String, Object>>> tools) Sends a chat message and returns the response.default ChatResponseLLMClient.chat(String message, Optional<String> systemPrompt, Optional<List<Map<String, Object>>> history, Optional<List<Map<String, Object>>> tools, float temperature) Sends a chat message with temperature override.default ChatResponseLLMClient.chat(List<ContentPart> messageParts, Optional<String> systemPrompt, Optional<List<Map<String, Object>>> history, Optional<List<Map<String, Object>>> tools) Sends a multimodal chat message (text + images/files).static ChatResponsestatic ChatResponseChatResponse.withCacheUsage(String content, List<ChatResponse.ToolCall> toolCalls, int inputTokens, int outputTokens, int cacheCreationTokens, int cacheReadTokens) Creates a response with cache usage metrics.static ChatResponseChatResponse.withToolCalls(String content, List<ChatResponse.ToolCall> toolCalls) static ChatResponseChatResponse.withUsage(String content, List<ChatResponse.ToolCall> toolCalls, int inputTokens, int outputTokens) Creates a response with usage metrics.