All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
JlamaEmbeddingModelConfig.BuilderBase.JlamaEmbeddingModelConfigImpl

public interface JlamaEmbeddingModelConfig extends Prototype.Api
Interface generated from definition. Please add javadoc to the definition interface.
See Also:
  • Field Details

  • Method Details

    • builder

      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static JlamaEmbeddingModelConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      static JlamaEmbeddingModelConfig create()
      Create a new instance with default values.
      Returns:
      a new instance
    • enabled

      boolean enabled()
      If set to false (default), JlamaEmbeddingModel will not be available even if configured.
      Returns:
      whether JlamaEmbeddingModel is enabled, defaults to false
    • modelCachePath

      Optional<Path> modelCachePath()
      Generated from JlamaEmbeddingModel.JlamaEmbeddingModelBuilder.modelCachePath(java.nio.file.Path)
      Returns:
      Path property
    • workingDirectory

      Optional<Path> workingDirectory()
      Generated from JlamaEmbeddingModel.JlamaEmbeddingModelBuilder.workingDirectory(java.nio.file.Path)
      Returns:
      Path property
    • authToken

      Optional<String> authToken()
      Generated from JlamaEmbeddingModel.JlamaEmbeddingModelBuilder.authToken(java.lang.String)
      Returns:
      String property
    • poolingType

      Optional<com.github.tjake.jlama.model.functions.Generator.PoolingType> poolingType()
      Generated from JlamaEmbeddingModel.JlamaEmbeddingModelBuilder.poolingType(com.github.tjake.jlama.model.functions.Generator.PoolingType)
      Returns:
      PoolingType property
    • threadCount

      Optional<Integer> threadCount()
      Generated from JlamaEmbeddingModel.JlamaEmbeddingModelBuilder.threadCount(java.lang.Integer)
      Returns:
      Integer property
    • quantizeModelAtRuntime

      Optional<Boolean> quantizeModelAtRuntime()
      Generated from JlamaEmbeddingModel.JlamaEmbeddingModelBuilder.quantizeModelAtRuntime(java.lang.Boolean)
      Returns:
      Boolean property
    • modelName

      String modelName()
      Configure the model name.
      Returns:
      model name
    • configuredBuilder

      default dev.langchain4j.model.jlama.JlamaEmbeddingModel.JlamaEmbeddingModelBuilder configuredBuilder()
      Skipped:
      • build - doesn't have exactly one parameter
      • toString - doesn't have exactly one parameter

      Overridden:

      • JlamaLc4jProvider.modelName()
      • JlamaLc4jProvider.modelName()
      Returns:
      Actual Lc4j model builder configured with this blueprint.