Class BedrockChatModel.Builder

java.lang.Object
dev.langchain4j.model.bedrock.AbstractBedrockChatModel.AbstractBuilder<BedrockChatModel.Builder>
dev.langchain4j.model.bedrock.BedrockChatModel.Builder
Enclosing class:
BedrockChatModel

public static class BedrockChatModel.Builder extends dev.langchain4j.model.bedrock.AbstractBedrockChatModel.AbstractBuilder<BedrockChatModel.Builder>
  • Field Summary

    Fields inherited from class dev.langchain4j.model.bedrock.AbstractBedrockChatModel.AbstractBuilder

    customHeadersSupplier, defaultRequestParameters, listeners, logger, logRequests, logResponses, modelId, region, returnThinking, sendThinking, supportedCapabilities, timeout
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    asyncClient(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient asyncClient)
    Sets the async Bedrock client used by chatAsync.
     
    client(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient client)
     
    maxRetries(Integer maxRetries)
     

    Methods inherited from class dev.langchain4j.model.bedrock.AbstractBedrockChatModel.AbstractBuilder

    customHeaders, customHeaders, defaultRequestParameters, listeners, listeners, logger, logRequests, logResponses, modelId, region, returnThinking, self, sendThinking, supportedCapabilities, supportedCapabilities, timeout

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Builder

      public Builder()
  • Method Details