Class LocalAiChatModel
java.lang.Object
dev.langchain4j.model.localai.LocalAiChatModel
- All Implemented Interfaces:
dev.langchain4j.model.chat.ChatModel
See LocalAI documentation for more details.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.langchain4j.model.chat.ChatModel
chat, chat, chat, defaultRequestParameters, doChat, listeners, provider, supportedCapabilities
-
Constructor Details
-
LocalAiChatModel
@Deprecated(forRemoval=true, since="1.5.0") public LocalAiChatModel(String baseUrl, String modelName, Double temperature, Double topP, Integer maxTokens, Duration timeout, Integer maxRetries, Boolean logRequests, Boolean logResponses) Deprecated, for removal: This API element is subject to removal in a future version. -
LocalAiChatModel
-
-
Method Details
-
chat
public dev.langchain4j.model.chat.response.ChatResponse chat(dev.langchain4j.model.chat.request.ChatRequest chatRequest) - Specified by:
chatin interfacedev.langchain4j.model.chat.ChatModel
-
builder
-