Class ChatModelRequest
java.lang.Object
dev.langchain4j.model.chat.listener.ChatModelRequest
Deprecated, for removal: This API element is subject to removal in a future version.
A request to the
ChatLanguageModel
or StreamingChatLanguageModel
,
intended to be used with ChatModelListener
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionChatModelRequest
(String model, Double temperature, Double topP, Integer maxTokens, List<ChatMessage> messages, List<ToolSpecification> toolSpecifications) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.messages()
Deprecated, for removal: This API element is subject to removal in a future version.model()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.topP()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
ChatModelRequest
public ChatModelRequest(String model, Double temperature, Double topP, Integer maxTokens, List<ChatMessage> messages, List<ToolSpecification> toolSpecifications) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
builder
Deprecated, for removal: This API element is subject to removal in a future version. -
model
Deprecated, for removal: This API element is subject to removal in a future version. -
temperature
Deprecated, for removal: This API element is subject to removal in a future version. -
topP
Deprecated, for removal: This API element is subject to removal in a future version. -
maxTokens
Deprecated, for removal: This API element is subject to removal in a future version. -
messages
Deprecated, for removal: This API element is subject to removal in a future version. -
toolSpecifications
Deprecated, for removal: This API element is subject to removal in a future version. -
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version.
-
ChatRequest