-
OllamaApi.Message.Builder.build()
Returns the value of the
message
record component.
Returns the value of the
messages
record component.
Returns the value of the messages
record component.
Deprecated, for removal: This API element is subject to removal in a future version.
ChatResponse(String model,
Instant createdAt,
OllamaApi.Message message,
String doneReason,
Boolean done,
Long totalDuration,
Long loadDuration,
Integer promptEvalCount,
Long promptEvalDuration,
Integer evalCount,
Long evalDuration)
Creates an instance of a ChatResponse
record class.
Creates an instance of a ChatRequest
record class.
ShowModelResponse(String license,
String modelfile,
String parameters,
String template,
String system,
OllamaApi.Model.Details details,
List<OllamaApi.Message> messages,
Map<String,Object> modelInfo,
Map<String,Object> projectorInfo,
Instant modifiedAt)
Creates an instance of a ShowModelResponse
record class.
OllamaApi.ChatRequest.Builder.messages(List)
instead.