Class ChatModelRequest
-
- All Implemented Interfaces:
@Deprecated(forRemoval = true) public class ChatModelRequest
A request to the ChatLanguageModel or StreamingChatLanguageModel, intended to be used with ChatModelListener.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classChatModelRequest.ChatModelRequestBuilder
-
Constructor Summary
Constructors Constructor Description ChatModelRequest(String model, Double temperature, Double topP, Integer maxTokens, List<ChatMessage> messages, List<ToolSpecification> toolSpecifications)
-
Method Summary
Modifier and Type Method Description static ChatModelRequest.ChatModelRequestBuilderbuilder()Stringmodel()Doubletemperature()DoubletopP()IntegermaxTokens()List<ChatMessage>messages()List<ToolSpecification>toolSpecifications()booleanequals(Object o)inthashCode()-
-
Constructor Detail
-
ChatModelRequest
ChatModelRequest(String model, Double temperature, Double topP, Integer maxTokens, List<ChatMessage> messages, List<ToolSpecification> toolSpecifications)
-
-
Method Detail
-
builder
static ChatModelRequest.ChatModelRequestBuilder builder()
-
temperature
Double temperature()
-
messages
List<ChatMessage> messages()
-
toolSpecifications
List<ToolSpecification> toolSpecifications()
-
hashCode
int hashCode()
-
-
-
-