Class JlamaChatModel

java.lang.Object
dev.langchain4j.model.jlama.JlamaChatModel
All Implemented Interfaces:
dev.langchain4j.model.chat.ChatModel

public class JlamaChatModel extends Object implements dev.langchain4j.model.chat.ChatModel
  • Constructor Details

    • JlamaChatModel

      public JlamaChatModel(Path modelCachePath, String modelName, String authToken, Integer threadCount, Boolean quantizeModelAtRuntime, Path workingDirectory, com.github.tjake.jlama.safetensors.DType workingQuantizedType, Float temperature, Integer maxTokens)
  • Method Details

    • builder

      public static JlamaChatModel.JlamaChatModelBuilder builder()
    • chat

      public dev.langchain4j.model.chat.response.ChatResponse chat(dev.langchain4j.model.chat.request.ChatRequest chatRequest)
      Specified by:
      chat in interface dev.langchain4j.model.chat.ChatModel