Creating a Copilot in Magic Studio

Walk through the process of creating a bunch of Capabilities that will be used in Static mode

1. Signup to Magic Studio

  • Click the "Sign Up" tab and enter a valid email and password.

    • If you have already created an account, use the "Sign In" tab instead.

Use the "Login with Google" option for a faster signup process.

2. Give your Organization's Name

Accept the default suggested name.

3. Create a Copilot

Click on the "Create Copilot" button. This will trigger the Copilot creation wizard.

4. Describe the high-level objective of the Copilot

In this step, you should give some details of the app and its high-level use cases. You can either enter the details manually or let Magic Studio automatically generate it by providing either a home page or Google PlayStore or Apple AppStore URL

For now, let's do this manually to suit the needs of our demo application.

Copy the following details as is from the table below.

Name of the sectionContent for the section

Title of the Project

Demo App for Magic Studio

About the project

This is a Demo application to try out CONVA.ai and it has the following capabilities. - Generate appropriate recipes given a list of ingredients - Generate a joke given a topic

Domain

Libraries & Demo

Categories

Receipe Generator, Joke Generator

Click on "Next" once you have entered the above details.

5. Create the Capabilities

At any point in the flow, you can go back all the way to the end and cancel the Copilot Creation. Studio will automatically save a draft copy and you can resume the creation process anytime in the future.

The next step is to create the Capabilities for the Copilot. A Capability represents a specific task that the Copilot needs to handle.

By default, Magic Studio will create one or two default Capabilities.

For this exercise, we will create two additional Capability called

  • Joke Generator

  • Recipe Generator

Lets create the Joke Generator first

Fill in the details as shown below in the two text

FieldValue to be filled

Name

Joke Generator

Description

Generate a GenZ joke for the given input topic. Generate two parameters joke topic

Click on the "Generate" button.

Let's now create the "Recipe Generator" Capability

Again, fill in the details exactly as shown below

FieldValue to be filled

Name

Recipe Generator

Description

Suggest a list of recipes that can be made with the given list of ingredients. Assume salt and basic Indian spices would be available Parameters to be generated - - ingredients_list and make it an array of strings - receipes_list and make it an array of strings

Click on "Generate" button again.

Magic Studio should now show 4 Capabilities as below

Click on the "Review" button to move to the next step.

Click on the "Build Copilot" button to move to the step that creates the final Copilot

Warning! This step will take almost 5-10 minutes so ensure that you are sitting far away from a coffee machine so that you can walk to it slowly and make a relaxed coffee, while we are working hard on your behalf 😁

If everything goes well, you should see a success message! Yay!

6. Creating Capability Groups

Since we will be invoking Capabilities specifically in the code (ie via Static Mode), we need to create a Group and put those Capabilities inside that group.

  • Goto "Capabilities" tab of the Copilot

  • Click on the "Capabilities Group" button on the left

  • Click on the "Group" button to on the top right

  • Create two groups "Jokes" and "Receipes" and put the Capability "Joke Generator" and "Receipe Generator" inside them respectively

If all went well, you should see the 3 groups as shown below

Next step is the more fun stuff of running the demo app and seeing how the Copilot gets integrated into the app. More Joy!

Last updated