Interface OllamaConfig


@ConfigMapping(prefix="quarkus.langchain4j.ollama.devservices") @ConfigRoot(phase=BUILD_TIME) public interface OllamaConfig
Allows configuring the OLlama Container
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Default docker image name.
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    If Dev Services for OLlama has been explicitly enabled or disabled.
    The OLlama container image to use.
    Model to install.
  • Field Details

  • Method Details

    • enabled

      @WithDefault("true") boolean enabled()
      If Dev Services for OLlama has been explicitly enabled or disabled. Dev Services are generally enabled by default, unless there is an existing configuration present.
    • imageName

      @WithDefault("ollama/ollama:latest") String imageName()
      The OLlama container image to use.
    • model

      @WithDefault("orca-mini") String model()
      Model to install.