com.microsoft.semantickernel.semanticfunctions.InputConfig Maven / Gradle / Ivy
// 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;
}
}