Class DefaultChatRequestParameters
-
- All Implemented Interfaces:
-
dev.langchain4j.model.chat.request.ChatRequestParameters
public class DefaultChatRequestParameters implements ChatRequestParameters
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDefaultChatRequestParameters.Builder
-
Method Summary
Modifier and Type Method Description StringmodelName()Doubletemperature()DoubletopP()IntegertopK()DoublefrequencyPenalty()DoublepresencePenalty()IntegermaxOutputTokens()List<String>stopSequences()List<ToolSpecification>toolSpecifications()ToolChoicetoolChoice()ResponseFormatresponseFormat()booleanequals(Object o)inthashCode()StringtoString()static DefaultChatRequestParameters.Builder<out Object>builder()-
-
Method Detail
-
temperature
Double temperature()
-
frequencyPenalty
Double frequencyPenalty()
-
presencePenalty
Double presencePenalty()
-
maxOutputTokens
Integer maxOutputTokens()
-
stopSequences
List<String> stopSequences()
-
toolSpecifications
List<ToolSpecification> toolSpecifications()
-
toolChoice
ToolChoice toolChoice()
-
responseFormat
ResponseFormat responseFormat()
-
hashCode
int hashCode()
-
builder
static DefaultChatRequestParameters.Builder<out Object> builder()
-
-
-
-