Class OllamaApi.Builder

java.lang.Object
org.springframework.ai.ollama.api.OllamaApi.Builder
Enclosing class:
OllamaApi

public static class OllamaApi.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • baseUrl

      public OllamaApi.Builder baseUrl(String baseUrl)
    • restClientBuilder

      public OllamaApi.Builder restClientBuilder(org.springframework.web.client.RestClient.Builder restClientBuilder)
    • webClientBuilder

      public OllamaApi.Builder webClientBuilder(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder)
    • responseErrorHandler

      public OllamaApi.Builder responseErrorHandler(org.springframework.web.client.ResponseErrorHandler responseErrorHandler)
    • build

      public OllamaApi build()