Class OvhAiClient.Builder<T extends OvhAiClient,B extends OvhAiClient.Builder<T,B>>

java.lang.Object
dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder<T,B>
Direct Known Subclasses:
DefaultOvhAiClient.Builder
Enclosing class:
OvhAiClient

public abstract static class OvhAiClient.Builder<T extends OvhAiClient,B extends OvhAiClient.Builder<T,B>> extends Object
  • Field Details

    • baseUrl

      public String baseUrl
    • apiKey

      public String apiKey
    • timeout

      public Duration timeout
    • logRequests

      public Boolean logRequests
    • logResponses

      public Boolean logResponses
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public abstract T build()
    • baseUrl

      public B baseUrl(String baseUrl)
    • apiKey

      public B apiKey(String apiKey)
    • timeout

      public B timeout(Duration timeout)
    • logRequests

      public B logRequests()
    • logRequests

      public B logRequests(Boolean logRequests)
    • logResponses

      public B logResponses()
    • logResponses

      public B logResponses(Boolean logResponses)