Class ChatModelRequest
java.lang.Object
dev.langchain4j.model.chat.listener.ChatModelRequest
A request to the
ChatLanguageModel
or StreamingChatLanguageModel
,
intended to be used with ChatModelListener
.-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionChatModelRequest
(String model, Double temperature, Double topP, Integer maxTokens, List<ChatMessage> messages, List<ToolSpecification> toolSpecifications) -
Method Summary
-
Constructor Details
-
ChatModelRequest
public ChatModelRequest(String model, Double temperature, Double topP, Integer maxTokens, List<ChatMessage> messages, List<ToolSpecification> toolSpecifications)
-
-
Method Details
-
builder
-
model
-
temperature
-
topP
-
maxTokens
-
messages
-
toolSpecifications
-