Class JlamaStreamingChatModel

java.lang.Object
dev.langchain4j.model.jlama.JlamaStreamingChatModel
All Implemented Interfaces:
dev.langchain4j.model.chat.StreamingChatModel

public class JlamaStreamingChatModel extends Object implements dev.langchain4j.model.chat.StreamingChatModel
  • Constructor Details

    • JlamaStreamingChatModel

      public JlamaStreamingChatModel(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

    • chat

      public void chat(dev.langchain4j.model.chat.request.ChatRequest chatRequest, dev.langchain4j.model.chat.response.StreamingChatResponseHandler handler)
      Specified by:
      chat in interface dev.langchain4j.model.chat.StreamingChatModel