Class OllamaGenerateRequest
java.lang.Object
io.intino.alexandria.ollama.requests.OllamaRequest
io.intino.alexandria.ollama.requests.OllamaRequest.WithOptions<OllamaGenerateRequest>
io.intino.alexandria.ollama.requests.OllamaGenerateRequest
- All Implemented Interfaces:
OllamaParameters<OllamaGenerateRequest>,OllamaRequest.WithKeepAlive<OllamaGenerateRequest>,Serializable
public class OllamaGenerateRequest
extends OllamaRequest.WithOptions<OllamaGenerateRequest>
implements OllamaRequest.WithKeepAlive<OllamaGenerateRequest>
- 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
Methods inherited from class io.intino.alexandria.ollama.requests.OllamaRequest.WithOptions
options, options, parametersMapMethods 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, stop, stop, stop, temperature, temperature, tfsZ, tfsZ, topK, topK, topP, topPMethods inherited from interface io.intino.alexandria.ollama.requests.OllamaRequest.WithKeepAlive
keepAlive
-
Constructor Details
-
OllamaGenerateRequest
public OllamaGenerateRequest()
-
-
Method Details
-
model
-
model
-
prompt
-
prompt
-
system
-
system
-
raw
-
raw
-
template
-
template
-
format
-
format
-
context
public int[] context() -
context
-
think
-
think
-
images
-
image
- Throws:
IOException
-
image
-
images
-
images
-
keepAlive
- Specified by:
keepAlivein interfaceOllamaRequest.WithKeepAlive<OllamaGenerateRequest>
-
keepAlive
- Specified by:
keepAlivein interfaceOllamaRequest.WithKeepAlive<OllamaGenerateRequest>
-
stream
-
stream
-
self
- Specified by:
selfin interfaceOllamaParameters<OllamaGenerateRequest>- Specified by:
selfin interfaceOllamaRequest.WithKeepAlive<OllamaGenerateRequest>
-