Uses of Class
com.tnsai.llm.ChatRequest
Packages that use ChatRequest
-
Uses of ChatRequest in com.tnsai.llm
Methods in com.tnsai.llm that return ChatRequestModifier and TypeMethodDescriptionChatRequest.Builder.build()Builds an immutable ChatRequest.static ChatRequestCreates a simple text-only request.static ChatRequestCreates a request with system prompt.Methods in com.tnsai.llm with parameters of type ChatRequestModifier and TypeMethodDescriptionFallbackLLMClient.chat(ChatRequest request) default ChatResponseLLMClient.chat(ChatRequest request) Sends a chat request using the unifiedChatRequestmodel.FallbackLLMClient.streamChat(ChatRequest request) LLMClient.streamChat(ChatRequest request) Streams a chat response using the unifiedChatRequestmodel.default voidLLMClient.streamChatWithHandler(ChatRequest request, Consumer<ChatChunk> handler) Streams a chat response via callbacks using the unifiedChatRequestmodel.LLMClient.streamChatWithSpec(ChatRequest request) Streams a chat response with rich metadata using the unifiedChatRequestmodel.