Class LlmMessageResponse

  • All Implemented Interfaces:

    
    public final class LlmMessageResponse
    
                        

    Framework-agnostic result of a single LLM inference call. Represents the assistant's response which may include tool calls.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Message getMessage()
      final String getTextContent()
      final Usage getUsage()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LlmMessageResponse

        LlmMessageResponse(Message message, String textContent, Usage usage)
        Parameters:
        message - The full message object from the LLM
        textContent - The text content of the message
        usage - Optional usage information (tokens, etc.