Event of canceling a function calling.

interface ICancel {
    operation: INestiaAgentOperation;
    reason: string;
    type: "cancel";
}

Hierarchy

  • IBase<"cancel">
    • ICancel

Properties

Properties

Selected operation to cancel.

Operation that has been selected to prepare LLM function calling, but canceled due to no more required.

reason: string

Reason of selecting the function.

The A.I. chatbot will fill this property describing why the function has been cancelled.

For reference, if the A.I. chatbot successfully completes the LLM function calling, the reason of the function cancellation will be "complete".

type: "cancel"

Discriminator type.