Class ChatModelRequest

java.lang.Object
dev.langchain4j.model.chat.listener.ChatModelRequest

@Deprecated(forRemoval=true) public class ChatModelRequest extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
in favour of ChatRequest
A request to the ChatLanguageModel or StreamingChatLanguageModel, intended to be used with ChatModelListener.
  • Constructor Details

  • Method Details

    • builder

      Deprecated, for removal: This API element is subject to removal in a future version.
    • model

      public String model()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • temperature

      public Double temperature()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • topP

      public Double topP()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • maxTokens

      public Integer maxTokens()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • messages

      public List<ChatMessage> messages()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • toolSpecifications

      public List<ToolSpecification> toolSpecifications()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • equals

      public boolean equals(Object o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object