Class QuarkusHuggingFaceChatModel

java.lang.Object
io.quarkiverse.langchain4j.huggingface.QuarkusHuggingFaceChatModel
All Implemented Interfaces:
dev.langchain4j.model.chat.ChatModel

public class QuarkusHuggingFaceChatModel extends Object implements dev.langchain4j.model.chat.ChatModel
This is a Quarkus specific version of the HuggingFace model.

TODO: remove this in the future when the stock HuggingFaceChatModel has been updated to fit our needs (i.e. allowing returnFullText to be null and making {code accessToken} optional)

  • Field Details

  • Method Details

    • builder

      public static QuarkusHuggingFaceChatModel.Builder builder()
    • doChat

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