When agent response or transition is not meeting your expectation, you might want to supply some examples to finetune the behavior. You can do so by adding finetune examples.

Here are the nodes that support finetune examples:

  • Conversation Node: support finetune examples for response and transition
  • Function Node: support finetune examples for transition

When configuring the finetune example, you will provide a transcript as the context. You can select user, agent, function as the role of the transcript. When selecting function as the role, you can fill out both the invocation and result of the function. Refer to the History tab of the dashboard to see examples of transcripts.

Finetune Examples for Conversation

Supplying a transcript as the context is everything you need to do. It’s not necessary to provide the entire call transcript, you can simply provide the relevant part. Please note that at least one agent response is required, as this is finetuning agent’s response.

Finetune Examples for Transition

Here you need to provide both a transcript as context, and the transition result. If you cannot distinguish between the different nodes available as transition target, you can try to rename your nodes to make it easier to distinguish.