ConfigOperatorRef

A reference to an operator within a configuration, with its deployment-time settings.

  • granularity
    Type: object · GranularityModel
    required

    When this operator runs.

    • on
      Type: string · Onenum
      required

      turn fires during the conversation; conversation_end fires once over the full transcript.

      values
      • turn
      • conversation_end
    • every
      Type: integer · Everynullable

      With on: turn, run every N turns. Omit or set to 1 for every turn.

    • until_match
      Type: boolean · Until Matchnullable

      With on: turn, stop firing after the first non-null result is produced.

  • name
    Type: string · Name
    required

    Name of the operator to include.

  • context_window
    Type: integer · Context Windownullable

    How many prior turns to include in the operator's context.

  • include_operator_results
    Type: array string[] · Include Operator Results

    Names of other operators in this configuration whose recent results to inject into context.

  • include_prior_results
    Type: boolean · Include Prior Results

    Inject this operator's own recent results into its context, for cumulative reasoning.

  • operator_results_window
    Type: integer · Operator Results Window

    How many results to inject per operator named in include_operator_results (latest first).

  • parameters
    Type: object · Parameters

    Values for the operator's declared parameters, keyed by parameter name.

    • propertyName
      Type: string
  • prior_results_window
    Type: integer · Prior Results Window

    How many of the operator's own prior results to inject when include_prior_results is true.

  • version
    Type: integer · Versionnullable

    Pin to a specific operator version. Omit on create to bind to the operator's current version.