Interface ChatRequestParameters
- All Known Implementing Classes:
DefaultChatRequestParameters
,OpenAiChatRequestParameters
public interface ChatRequestParameters
Represents common chat request parameters supported by most LLM providers.
Specific LLM provider integrations can extend this interface to add provider-specific parameters.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultChatRequestParameters.Builder
<?> builder()
topK()
topP()
-
Method Details
-
modelName
String modelName() -
temperature
Double temperature() -
topP
Double topP() -
topK
Integer topK() -
frequencyPenalty
Double frequencyPenalty() -
presencePenalty
Double presencePenalty() -
maxOutputTokens
Integer maxOutputTokens() -
stopSequences
-
toolSpecifications
List<ToolSpecification> toolSpecifications() -
toolChoice
ToolChoice toolChoice() -
responseFormat
ResponseFormat responseFormat() -
builder
-