All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.semantickernel.semanticfunctions.InputConfig Maven / Gradle / Ivy

There is a newer version: 1.3.0
Show newest version
// 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy