Class JlamaStreamingChatModelConfig.BuilderBase.JlamaStreamingChatModelConfigImpl
java.lang.Object
io.helidon.integrations.langchain4j.providers.jlama.JlamaStreamingChatModelConfig.BuilderBase.JlamaStreamingChatModelConfigImpl
- All Implemented Interfaces:
Prototype.Api
,JlamaStreamingChatModelConfig
- Enclosing class:
JlamaStreamingChatModelConfig.BuilderBase<BUILDER extends JlamaStreamingChatModelConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends JlamaStreamingChatModelConfig>
protected static class JlamaStreamingChatModelConfig.BuilderBase.JlamaStreamingChatModelConfigImpl
extends Object
implements JlamaStreamingChatModelConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.integrations.langchain4j.providers.jlama.JlamaStreamingChatModelConfig
JlamaStreamingChatModelConfig.Builder, JlamaStreamingChatModelConfig.BuilderBase<BUILDER extends JlamaStreamingChatModelConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends JlamaStreamingChatModelConfig> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The root configuration key for this builder. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionGenerated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.authToken(java.lang.String)
default dev.langchain4j.model.jlama.JlamaStreamingChatModel.JlamaStreamingChatModelBuilder
Skipped: build - doesn't have exactly one parameter toString - doesn't have exactly one parameterboolean
enabled()
If set tofalse
(default), JlamaStreamingChatModel will not be available even if configured.boolean
int
hashCode()
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.maxTokens(java.lang.Integer)
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.modelCachePath(java.nio.file.Path)
Configure the model name.Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.quantizeModelAtRuntime(java.lang.Boolean)
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.temperature(java.lang.Float)
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.threadCount(java.lang.Integer)
toString()
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.workingDirectory(java.nio.file.Path)
Optional
<com.github.tjake.jlama.safetensors.DType> Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.workingQuantizedType(com.github.tjake.jlama.safetensors.DType)
-
Field Details
-
CONFIG_ROOT
The root configuration key for this builder.- See Also:
-
-
Constructor Details
-
JlamaStreamingChatModelConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
enabled
public boolean enabled()Description copied from interface:JlamaStreamingChatModelConfig
If set tofalse
(default), JlamaStreamingChatModel will not be available even if configured.- Specified by:
enabled
in interfaceJlamaStreamingChatModelConfig
- Returns:
- whether JlamaStreamingChatModel is enabled, defaults to
false
-
workingQuantizedType
Description copied from interface:JlamaStreamingChatModelConfig
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.workingQuantizedType(com.github.tjake.jlama.safetensors.DType)
- Specified by:
workingQuantizedType
in interfaceJlamaStreamingChatModelConfig
- Returns:
- DType property
-
modelCachePath
Description copied from interface:JlamaStreamingChatModelConfig
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.modelCachePath(java.nio.file.Path)
- Specified by:
modelCachePath
in interfaceJlamaStreamingChatModelConfig
- Returns:
- Path property
-
workingDirectory
Description copied from interface:JlamaStreamingChatModelConfig
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.workingDirectory(java.nio.file.Path)
- Specified by:
workingDirectory
in interfaceJlamaStreamingChatModelConfig
- Returns:
- Path property
-
authToken
Description copied from interface:JlamaStreamingChatModelConfig
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.authToken(java.lang.String)
- Specified by:
authToken
in interfaceJlamaStreamingChatModelConfig
- Returns:
- String property
-
temperature
Description copied from interface:JlamaStreamingChatModelConfig
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.temperature(java.lang.Float)
- Specified by:
temperature
in interfaceJlamaStreamingChatModelConfig
- Returns:
- Float property
-
maxTokens
Description copied from interface:JlamaStreamingChatModelConfig
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.maxTokens(java.lang.Integer)
- Specified by:
maxTokens
in interfaceJlamaStreamingChatModelConfig
- Returns:
- Integer property
-
threadCount
Description copied from interface:JlamaStreamingChatModelConfig
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.threadCount(java.lang.Integer)
- Specified by:
threadCount
in interfaceJlamaStreamingChatModelConfig
- Returns:
- Integer property
-
quantizeModelAtRuntime
Description copied from interface:JlamaStreamingChatModelConfig
Generated fromJlamaStreamingChatModel.JlamaStreamingChatModelBuilder.quantizeModelAtRuntime(java.lang.Boolean)
- Specified by:
quantizeModelAtRuntime
in interfaceJlamaStreamingChatModelConfig
- Returns:
- Boolean property
-
modelName
Description copied from interface:JlamaStreamingChatModelConfig
Configure the model name.- Specified by:
modelName
in interfaceJlamaStreamingChatModelConfig
- Returns:
- model name
-
toString
-
equals
-
hashCode
public int hashCode() -
configuredBuilder
default dev.langchain4j.model.jlama.JlamaStreamingChatModel.JlamaStreamingChatModelBuilder configuredBuilder()Skipped:- build - doesn't have exactly one parameter
- toString - doesn't have exactly one parameter
Overridden:
JlamaLc4jProvider.modelName()
JlamaLc4jProvider.modelName()
- Returns:
- Actual Lc4j model builder configured with this blueprint.
-