Class StreamingChatModelReply.CompleteResponse

  • All Implemented Interfaces:
    dev.langchain4j.kotlin.model.chat.StreamingChatModelReply

    
    public final class StreamingChatModelReply.CompleteResponse
     implements StreamingChatModelReply
                        

    Represents a final completion response received from the AI language model during the streaming chat process.

    This data class encapsulates the complete response, which typically contains the final output of a model's reply in the context of a conversation.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final ChatResponse response
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final ChatResponse getResponse()
      • Methods inherited from class java.lang.Object

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

      • StreamingChatModelReply.CompleteResponse

        StreamingChatModelReply.CompleteResponse(ChatResponse response)