Interface SKContext.Builder
-
- Enclosing interface:
- SKContext
public static interface SKContext.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SKContextbuild()SKContextbuild(Kernel kernel)Builds a context from the given kernel.SKContextbuild(ReadOnlySkillCollection skills)SKContextbuild(Class<? extends SKContext> clazz)SKContext.Builderclone(SKContext context)SKContext.Builderwith(SemanticTextMemory memory)Sets the memorySKContext.Builderwith(ContextVariables variables)SKContext.Builderwith(ReadOnlySkillCollection skills)Sets the skills
-
-
-
Method Detail
-
build
SKContext build(ReadOnlySkillCollection skills)
-
build
SKContext build()
-
with
SKContext.Builder with(ContextVariables variables)
-
with
SKContext.Builder with(@Nullable ReadOnlySkillCollection skills)
Sets the skills- Parameters:
skills- null argument will be ignored- Returns:
- Context for fluent calls
-
with
SKContext.Builder with(@Nullable SemanticTextMemory memory)
Sets the memory- Parameters:
memory- null argument will be ignored- Returns:
- Context for fluent calls
-
clone
SKContext.Builder clone(SKContext context)
-
-