com.microsoft.semantickernel.semanticfunctions.InputConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of semantickernel-api Show documentation
Show all versions of semantickernel-api Show documentation
Defines the public interface for the Semantic Kernel
// Copyright (c) Microsoft. All rights reserved.
package com.microsoft.semantickernel.semanticfunctions;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collections;
import java.util.List;
/**
* Input configuration (list of all input parameters for a semantic function).
*/
public class InputConfig {
private final List parameters;
/**
* Creates a new instance of the {@link InputConfig} class.
*
* @param parameters the list of input parameters
*/
@JsonCreator
public InputConfig(@JsonProperty("parameters") List parameters) {
this.parameters = Collections.unmodifiableList(parameters);
}
/**
* Gets the list of input parameters.
*
* @return the list of input parameters
*/
public List getParameters() {
return parameters;
}
}