Class AnthropicCreateMessageRequest.Builder
java.lang.Object
dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest.Builder
- Enclosing class:
AnthropicCreateMessageRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()container(AnthropicContainer container) customParameters(Map<String, Object> customParameters) diagnostics(AnthropicDiagnosticsParameters diagnostics) maxTokens(int maxTokens) messages(List<AnthropicMessage> messages) metadata(AnthropicMetadata metadata) outputConfig(AnthropicOutputConfig outputConfig) stopSequences(List<String> stopSequences) stream(boolean stream) system(List<AnthropicTextContent> system) temperature(Double temperature) thinking(AnthropicThinking thinking) toolChoice(AnthropicToolChoice toolChoice) tools(List<AnthropicTool> tools)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
model
-
messages
-
system
-
maxTokens
-
stopSequences
-
stream
-
temperature
-
topP
-
topK
-
tools
-
toolChoice
-
outputConfig
-
thinking
-
metadata
-
container
-
diagnostics
public AnthropicCreateMessageRequest.Builder diagnostics(AnthropicDiagnosticsParameters diagnostics) -
customParameters
-
build
-