Class OllamaCreateModelRequest
java.lang.Object
io.intino.alexandria.ollama.requests.OllamaRequest
io.intino.alexandria.ollama.requests.OllamaCreateModelRequest
- All Implemented Interfaces:
OllamaParameters<OllamaCreateModelRequest>,Serializable
public class OllamaCreateModelRequest
extends OllamaRequest
implements OllamaParameters<OllamaCreateModelRequest>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.intino.alexandria.ollama.requests.OllamaRequest
OllamaRequest.WithKeepAlive<Self extends OllamaRequest.WithKeepAlive<Self>>, OllamaRequest.WithOptions<Self extends OllamaRequest.WithOptions<Self>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadapters()addAdapter(String pathToLoRAGGMLFile, String sha256) addMessage(OllamaMessage message) addMessage(OllamaMessage.Role role, String content) files()from()license()messages()messages(OllamaMessage... messages) messages(Collection<OllamaMessage> messages) model()parameters(Map<String, Object> parameters) quantize()booleanstream()stream(boolean stream) system()template()Methods inherited from class io.intino.alexandria.ollama.requests.OllamaRequest
fromJson, toJson, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.intino.alexandria.ollama.OllamaParameters
minP, minP, mirostat, mirostat, mirostatEta, mirostatEta, mirostatTau, mirostatTau, numCtx, numCtx, numGpu, numGpu, numPredict, numPredict, parameter, parameter, repeatLastN, repeatLastN, repeatPenalty, repeatPenalty, seed, seed, self, stop, stop, stop, temperature, temperature, tfsZ, tfsZ, topK, topK, topP, topP
-
Constructor Details
-
OllamaCreateModelRequest
public OllamaCreateModelRequest()
-
-
Method Details
-
model
-
model
-
quantize
-
quantize
-
from
-
from
-
files
-
files
-
parametersMap
- Specified by:
parametersMapin interfaceOllamaParameters<OllamaCreateModelRequest>
-
parameters
-
parameters
-
template
-
template
-
system
-
system
-
adapters
-
addAdapter
-
adapters
-
messages
-
addMessage
-
addMessage
-
messages
-
messages
-
license
-
license
-
stream
public boolean stream() -
stream
-