Package dev.langchain4j.model.ollama
Class OllamaModel
java.lang.Object
dev.langchain4j.model.ollama.OllamaModel
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionOllamaModel
(String name, long size, String digest, OllamaModelDetails details, OffsetDateTime modifiedAt, String model) -
Method Summary
Modifier and TypeMethodDescriptionstatic OllamaModel.Builder
builder()
getModel()
getName()
long
getSize()
void
setDetails
(OllamaModelDetails details) void
void
void
setModifiedAt
(OffsetDateTime modifiedAt) void
void
setSize
(long size)
-
Constructor Details
-
OllamaModel
public OllamaModel(String name, long size, String digest, OllamaModelDetails details, OffsetDateTime modifiedAt, String model)
-
-
Method Details
-
builder
-
getName
-
setName
-
getSize
public long getSize() -
setSize
public void setSize(long size) -
getDigest
-
setDigest
-
getDetails
-
setDetails
-
getModel
-
setModel
-
getModifiedAt
-
setModifiedAt
-