Uses of Class
dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageResponse.Builder
Packages that use AnthropicCreateMessageResponse.Builder
-
Uses of AnthropicCreateMessageResponse.Builder in dev.langchain4j.model.anthropic.internal.api
Methods in dev.langchain4j.model.anthropic.internal.api that return AnthropicCreateMessageResponse.BuilderModifier and TypeMethodDescriptionAnthropicCreateMessageResponse.builder()Creates a new builder for constructingAnthropicCreateMessageResponseinstances.AnthropicCreateMessageResponse.Builder.content(List<AnthropicContent> content) Sets the content blocks.Sets the unique identifier.Sets the model name.Sets the role.AnthropicCreateMessageResponse.Builder.stopReason(String stopReason) Sets the stop reason.AnthropicCreateMessageResponse.Builder.stopSequence(String stopSequence) Sets the stop sequence.Sets the response type.AnthropicCreateMessageResponse.Builder.usage(AnthropicUsage usage) Sets the usage statistics.