Interface ChatRequestParameters
-
- All Implemented Interfaces:
public interface ChatRequestParametersRepresents common chat request parameters supported by most LLM providers. Specific LLM provider integrations can extend this interface to add provider-specific parameters.
-
-
Method Summary
Modifier and Type Method Description abstract StringmodelName()abstract Doubletemperature()abstract DoubletopP()abstract IntegertopK()abstract DoublefrequencyPenalty()abstract DoublepresencePenalty()abstract IntegermaxOutputTokens()abstract List<String>stopSequences()abstract List<ToolSpecification>toolSpecifications()abstract ToolChoicetoolChoice()abstract ResponseFormatresponseFormat()static DefaultChatRequestParameters.Builder<out Object>builder()-
-
Method Detail
-
temperature
abstract Double temperature()
-
frequencyPenalty
abstract Double frequencyPenalty()
-
presencePenalty
abstract Double presencePenalty()
-
maxOutputTokens
abstract Integer maxOutputTokens()
-
stopSequences
abstract List<String> stopSequences()
-
toolSpecifications
abstract List<ToolSpecification> toolSpecifications()
-
toolChoice
abstract ToolChoice toolChoice()
-
responseFormat
abstract ResponseFormat responseFormat()
-
builder
static DefaultChatRequestParameters.Builder<out Object> builder()
-
-
-
-