CreateInteractionEvent: {
    event_type: "interaction.create";
    model?: string;
    previous_interaction_id?: string;
    store?: boolean;
    system_instruction?: string;
    tools?: Tool[];
}

Starts a new Interaction.

Type declaration

  • event_type: "interaction.create"
  • Optionalmodel?: string

    The name of the Model used for generating the completion.

  • Optionalprevious_interaction_id?: string

    The ID of a previous interaction. If set, the output from that interaction

    will be prepended to the input. That interaction must have been run with store=true and must be in a terminal state (e.g., COMPLETED).

  • Optionalstore?: boolean

    Whether to store the interaction so that it can be retrieved later, e.g.

    to be referenced as the previous_interaction_id of a subsequent interaction.

    This does not enable / disable the storage needed to execute the interaction itself (e.g. to reconnect or to recover from a failure).

  • Optionalsystem_instruction?: string

    System instruction for the interaction.

    Deprecated: Use developer_instructions instead.

  • Optionaltools?: Tool[]

    A list of tool declarations the model may call during interaction.