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)
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.langchain4j.model.chat.ChatModel
chat, chat, chat, chat, defaultRequestParameters, listeners, provider, supportedCapabilities
-
Field Details
-
CLIENT_FACTORY
-
-
Method Details
-
builder
-
doChat
public dev.langchain4j.model.chat.response.ChatResponse doChat(dev.langchain4j.model.chat.request.ChatRequest chatRequest) - Specified by:
doChatin interfacedev.langchain4j.model.chat.ChatModel
-