Package io.github.amithkoujalgi.ollama4j.core.models.chat
package io.github.amithkoujalgi.ollama4j.core.models.chat
-
ClassDescriptionDefines a single Message to be used inside a chat request against the ollama /api/chat endpoint.Defines the possible Chat Message roles.Helper class for creating
OllamaChatRequestModel
objects using the builder-pattern.Defines a Request to use against the ollama /api/chat endpoint.Specific chat-API result that contains the chat history sent to the model and appends the answer asOllamaChatResult
given by theOllamaChatMessageRole.ASSISTANT
role.