Composite Skill

Updated 

Overview

When the Composite Skill is executed, rather than running a single skill, it triggers the execution of multiple skills simultaneously. This allows for more complex and multi-faceted operations to be carried out in a single process.

Use case

Suppose you need to perform two tasks in one call, such as making an API call and publishing content, or making an API call and running a macro at the same time. Using the Composite skill, you can define all the necessary skills under the setup function, allowing both actions to be executed one after the other or parallelly in a single workflow.

Steps to Configure a Composite Skill

  1. Within your conversational ai application, click on Skills under the Manage section.

  2. Click Add Skill in the top right corner and select Composite.

  3. Enter the skill Name and Description.

  4. Under Setup Function, you can select the Skill Execution Behaviour to either be:

    • Standard wherein the skills get executed one after the other or

    • Parallel wherein the skills get executed simultaneously.

    Note:

    Guidelines for Function Names:

    • Be Clear and Direct: Use action-oriented, unambiguous verbs.

    • Keep It Concise: Aim for 2-4 words that clearly describe the function's purpose.

    • Avoid Generic Names: Ensure the name is distinct from other functions.

    • Use a Noun or Output Indicator: Reflect the returned value (e.g., fetch_exchange_rate, not convert_money).

    Guidelines for Function Descriptions:

    • Start with a Clear Action Verb: Use verbs like "Retrieves," "Fetches," or "Generates."

    • Clearly State Function Purpose: Describe what the function does without assuming prior knowledge.

    • Mention Key Inputs: Include relevant inputs but avoid specifying types (handled separately).

    • Specify Expected Output: Clarify what the function returns.

    • Keep it Concise: Aim for a description under 20 words.

  5. Under Skill Flow, you can select the necessary skills to be executed in a single workflow.

  6. Click Save to save the skill.