Interface CompletionSKFunction
-
- All Superinterfaces:
Buildable,SKFunction<CompletionRequestSettings>
public interface CompletionSKFunction extends SKFunction<CompletionRequestSettings>, Buildable
Semantic function for text completion
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCompletionSKFunction.BuilderBuilder for completion functions
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<SKContext>aggregatePartitionedResultsAsync(List<String> partitionedInput, SKContext context)Method to aggregate partitioned results of a semantic function.static CompletionSKFunction.Builderbuilder()-
Methods inherited from interface com.microsoft.semantickernel.orchestration.SKFunction
describe, getDescription, getName, getSkillName, getType, invokeAsync, invokeAsync, invokeAsync, invokeAsync, invokeAsync, invokeAsync, invokeWithCustomInputAsync, toEmbeddingString, toFullyQualifiedName, toManualString
-
-
-
-
Method Detail
-
aggregatePartitionedResultsAsync
reactor.core.publisher.Mono<SKContext> aggregatePartitionedResultsAsync(List<String> partitionedInput, @Nullable SKContext context)
Method to aggregate partitioned results of a semantic function.- Parameters:
partitionedInput- Input to aggregatecontext- Semantic Kernel context- Returns:
- Aggregated results
-
builder
static CompletionSKFunction.Builder builder()
-
-