Class FcPromptQueryProps

    • Constructor Detail

      • FcPromptQueryProps

        public FcPromptQueryProps()
    • Method Detail

      • setJsonParameters

        public void setJsonParameters​(Object jsonParameters)
        Sets the configured parameters for the prompt query. These parameters will be passed on to the prompt query upon execution.
        Parameters:
        jsonParameters - The configured single parameters for the prompt query.
      • getMultiFileParameters

        public Map<String,​MultiFile> getMultiFileParameters()
        Description copied from interface: IPromptQueryParametersProviding
        Gets the configured multi file parameters for the prompt query, indexed by their ID. These parameters will be passed on to the prompt query upon execution. Note that while this model class maintains a separate map for single and multi file parameters, the keys must be mutually exclusive across both maps.
        Specified by:
        getMultiFileParameters in interface IPromptQueryParametersProviding
        Returns:
        The configured multi file parameters for the prompt query.
      • setMultiFileParameters

        public void setMultiFileParameters​(Map<String,​MultiFile> multiFileParameters)
        Sets the configured multi file parameters for the prompt query, indexed by their ID. These parameters will be passed on to the prompt query upon execution. Note that while this model class maintains a separate map for single and multi file parameters, the keys must be mutually exclusive across all maps.
        Parameters:
        multiFileParameters - The configured multi file parameters for the prompt query.
      • getOutputFileProvision

        public FileProvision getOutputFileProvision()
        Details regarding the produces files. Applicable only if the prompt query produces files.
        Returns:
        The file provision details.
      • setOutputFileProvision

        public void setOutputFileProvision​(FileProvision outputFileProvision)
        Sets the file provision details. Applicable only if the prompt query produces files.
        Parameters:
        outputFileProvision - The file provision details.
      • setPromptQuery

        public void setPromptQuery​(ObjectReference promptQuery)
        Sets the prompt query to execute. This field is required.
        Parameters:
        promptQuery - The prompt query to execute.
      • getSingleFileParameters

        public Map<String,​SingleFile> getSingleFileParameters()
        Description copied from interface: IPromptQueryParametersProviding
        Gets the configured single file parameters for the prompt query, indexed by their ID. These parameters will be passed on to the prompt query upon execution. Note that while this model class maintains a separate map for single and multi file parameters, the keys must be mutually exclusive across both maps.
        Specified by:
        getSingleFileParameters in interface IPromptQueryParametersProviding
        Returns:
        The configured single file parameters for the prompt query.
      • setSingleFileParameters

        public void setSingleFileParameters​(Map<String,​SingleFile> singleFileParameters)
        Sets the configured single file parameters for the prompt query, indexed by their ID. These parameters will be passed on to the prompt query upon execution. Note that while this model class maintains a separate map for single and multi file parameters, the keys must be mutually exclusive across all maps.
        Parameters:
        singleFileParameters - The configured single file parameters for the prompt query.