Skip to content

Experiment Plugin

sisbell edited this page May 8, 2023 · 1 revision

Configuration

The following fields are for a block in an experiment plugin. Use this is as a reference.

Field Description
configuration.requestParams the request parameters that are sent to OpenAI. You may add any legal parameters that OpenAI uses. Required field.
configuration.responseFormat either "json" or "text". The default value is "text" if not specified
executions[n].id unique id of the experiment. Currently optional but this may change in future releases.
executions[n].promptChain the path of your prompt template files. Required field. Must contain at least one element.
executions[n].properties any properties you want to fill-in to the prompt template. This field is optional.
executions[n].chainRuns the number of times to run the chain of defaults. Default value is 1
executions[n].systemMessageFile file containing the system message to use. Optional field.
executions[n].fixJson if your response is in JSON format, this will flag the tool to try to extract a valid JSON that is surrounded by unwanted external text that the AI may generate. The default value is false.

Clone this wiki locally