Uses of Class
dev.langchain4j.model.bedrock.BedrockBatchChatModel.Builder
Packages that use BedrockBatchChatModel.Builder
-
Uses of BedrockBatchChatModel.Builder in dev.langchain4j.model.bedrock
Methods in dev.langchain4j.model.bedrock that return BedrockBatchChatModel.BuilderModifier and TypeMethodDescriptionBedrockBatchChatModel.Builder.bedrockClient(software.amazon.awssdk.services.bedrock.BedrockClient bedrockClient) Sets theBedrockClientused for job control-plane calls.BedrockBatchChatModel.builder()BedrockBatchChatModel.Builder.credentialsProvider(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider) Sets the credentials provider for the clients created when none are supplied.BedrockBatchChatModel.Builder.customHeaders(Supplier<Map<String, String>> customHeadersSupplier) Sets a supplier of headers added to every control-plane call.BedrockBatchChatModel.Builder.customHeaders(Map<String, String> customHeaders) Sets headers added to every control-plane call.BedrockBatchChatModel.Builder.defaultRequestParameters(ChatRequestParameters defaultRequestParameters) Sets common defaultChatRequestParameters; per-request parameters take precedence over these.BedrockBatchChatModel.Builder.inputS3Uri(String inputS3Uri) Sets the S3 URI under which the generated input file is uploaded.BedrockBatchChatModel.Builder.jobTimeout(Duration jobTimeout) Sets how long the job may run before its unprocessed records expire.BedrockBatchChatModel.Builder.logger(org.slf4j.Logger logger) Sets theLoggerused whenBedrockBatchChatModel.Builder.logRequests(Boolean)orBedrockBatchChatModel.Builder.logResponses(Boolean)is enabled.BedrockBatchChatModel.Builder.logRequests(Boolean logRequests) Enables logging of the control-plane and S3 requests.BedrockBatchChatModel.Builder.logResponses(Boolean logResponses) Enables logging of the control-plane and S3 responses.BedrockBatchChatModel.Builder.maxRetries(Integer maxRetries) Sets the number of times to retry a control-plane or S3 call on transient errors.Sets the model that every request in the batch runs against.BedrockBatchChatModel.Builder.outputS3Uri(String outputS3Uri) Sets the S3 URI (for examples3://my-bucket/batch-output) where Bedrock writes the results.BedrockBatchChatModel.Builder.region(software.amazon.awssdk.regions.Region region) Sets the AWS region for the clients created when none are supplied.BedrockBatchChatModel.Builder.returnThinking(Boolean returnThinking) Controls whether the thinking of a model with reasoning enabled is returned inAiMessage.thinking().Sets the ARN of the service role Bedrock assumes to read the input and write the output in S3.BedrockBatchChatModel.Builder.s3Client(software.amazon.awssdk.services.s3.S3Client s3Client) Sets theS3Clientused to write inputs and read outputs.BedrockBatchChatModel.Builder.sendThinking(Boolean sendThinking) Controls whether the thinking of anAiMessagein the conversation is sent back to the model.Sets the timeout of each control-plane and S3 call.