Package net.thevpc.naru.api.model
Class NaruModelConfig
java.lang.Object
net.thevpc.naru.api.model.NaruModelConfig
- All Implemented Interfaces:
NToElement
-
Constructor Summary
ConstructorsConstructorDescriptionNaruModelConfig(String provider, String model) NaruModelConfig(String name, String provider, String model, Long contextLength, Float temperature, Float nucleusThreshold, Integer candidateCount, Integer maxTokens, List<String> stop) NaruModelConfig(String name, String provider, String model, Long contextLength, Float temperature, Float nucleusThreshold, Integer candidateCount, Integer maxTokens, List<String> stop, NaruThinkingTags thinkingTags) NaruModelConfig(NaruModelKey provider) NaruModelConfig(NElement element) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()key()model()name()static NOptional<NaruModelConfig>provider()stop()The configured reasoning delimiters, or null when the protocol default should apply.toString()toText()withCandidateCount(Integer candidateCount) withContextLength(Long contextLength) withMaxTokens(Integer maxTokens) withNucleusThreshold(Float nucleusThreshold) withProvider(String provider) withTemperature(Float temperature) withThinkingTags(NaruThinkingTags thinkingTags)
-
Constructor Details
-
NaruModelConfig
-
NaruModelConfig
-
NaruModelConfig
-
NaruModelConfig
-
NaruModelConfig
-
-
Method Details
-
of
-
withName
-
withProvider
-
withModel
-
withContextLength
-
withTemperature
-
withNucleusThreshold
-
withCandidateCount
-
withMaxTokens
-
withStop
-
withThinkingTags
-
thinkingTags
The configured reasoning delimiters, or null when the protocol default should apply. -
toElement
- Specified by:
toElementin interfaceNToElement
-
name
-
provider
-
model
-
contextLength
-
temperature
-
nucleusThreshold
-
candidateCount
-
maxTokens
-
stop
-
toString
-
toText
-
key
-
equals
-
hashCode
public int hashCode()
-