Class WatsonxDeploymentStreamingChatModel.Builder

java.lang.Object
dev.langchain4j.model.watsonx.WatsonxDeploymentStreamingChatModel.Builder
Enclosing class:
WatsonxDeploymentStreamingChatModel

public static class WatsonxDeploymentStreamingChatModel.Builder extends Object
Builder class for constructing WatsonxDeploymentStreamingChatModel instances with configurable parameters.
  • Field Details

    • deploymentId

      protected String deploymentId
    • thinking

      protected com.ibm.watsonx.ai.chat.model.Thinking thinking
    • guidedChoice

      protected Set<String> guidedChoice
    • guidedRegex

      protected String guidedRegex
    • guidedGrammar

      protected String guidedGrammar
    • repetitionPenalty

      protected Double repetitionPenalty
    • lengthPenalty

      protected Double lengthPenalty
    • modelName

      protected String modelName
    • temperature

      protected Double temperature
    • topP

      protected Double topP
    • frequencyPenalty

      protected Double frequencyPenalty
    • presencePenalty

      protected Double presencePenalty
    • maxOutputTokens

      protected Integer maxOutputTokens
    • stopSequences

      protected List<String> stopSequences
    • toolChoice

      protected ToolChoice toolChoice
    • responseFormat

      protected ResponseFormat responseFormat
    • strictJsonSchema

      protected Boolean strictJsonSchema
    • toolSpecifications

      protected List<ToolSpecification> toolSpecifications
    • listeners

      protected List<ChatModelListener> listeners
    • defaultRequestParameters

      protected ChatRequestParameters defaultRequestParameters
    • supportedCapabilities

      protected Set<Capability> supportedCapabilities
    • logitBias

      protected Map<String,Integer> logitBias
    • logprobs

      protected Boolean logprobs
    • topLogprobs

      protected Integer topLogprobs
    • seed

      protected Integer seed
    • toolChoiceName

      protected String toolChoiceName
    • baseUrl

      protected URI baseUrl
    • version

      protected String version
    • apiKey

      protected String apiKey
    • logRequests

      protected Boolean logRequests
    • logResponses

      protected Boolean logResponses
    • timeout

      protected Duration timeout
    • authenticator

      protected com.ibm.watsonx.ai.core.auth.Authenticator authenticator
    • httpClient

      protected HttpClient httpClient
    • verifySsl

      protected boolean verifySsl
  • Method Details