Features and Usage guide

Information:

As of this guides creation, following are the features supported by Freddy Copilot for Developers.

Additional features and existing features are subject to change with future releases.

Warning:

The actual behaviour might vary based on version of Freddy Copilot for Developers

App Creation Experience

PagerDuty Example

Information:

Applicable in Freddy Copilot v2.0.5 or higher.

  1. Open Visual Studio Code, click on Freddy Copilot for Developer Icon to open the extension
  2. Click on "Start building apps from scratch"
  3. You will be prompted to enter the "folder name". Once entered VS Code will open a new windows with newly created folder as the current workspace.
  4. Navigate to the extension, click again on the "Start building apps from scratch" option
  5. Select the product for which the app is to be built, such as Freshdesk, Freshcaller, etc
  6. Enter the use case as input when prompted, and submit
  7. It will infer the app use case with applicable placeholder, click on submit. You can change this placeholder once the app is generated, via manifest.json
  8. You will be prompted for uploading image for the use case definition, you can use one of the following option
    1. Upload the image using "Browse" or "Drag and Drop" option
    2. Provide figma link with its API key.
  9. Verify the generated code by running the app. Refer to the video below when in doubt.
Create a new app with Figma to Code

One click operations

Warning:

These features are in beta. The actual behaviour might vary when using specific version of Freddy Copilot for Developers

Run App

  1. Navigate to the Freshworks App directory
  2. Click on "Freddy Copilot for Developers" plugin
  3. At the bottom you shall see an option to "Run App", click the same.
  4. Navigate to your product account, and append "?dev=true" in the query parameters
  5. Check for the app placeholder for app rendering depending on your app template placeholder location
Run Freshworks AppRun Freshworks App

Developer productivity options

Instant code generation with interaction options

  1. Open a Freshworks App in Visual Studio Code with an existing Freshworks App, if not create one using one of the app creation options mentioned above.
  2. Click on "Freddy Copilot for Developers" and in the input box, add your query prompt and submit
  3. The output will contain Gen AI service response shown in the chat webview with code options as applicable.
  4. Use the interactive options as applicable
    1. Use the "Insert Code" option to insert the code in to the current at the cursor location
    2. Use the "Copy Code" to copy the code shown in the code window
    3. Use the "Download Code" option to download the HTMl file in to your local machine
    4. Use the "Preview Code" option to open the HTML preview of the generated code
Information:

In case if the generated code quality is good or it is found to be irrelevant or wrong, do provide your valuable feedback with upvote or downvote options available towards end of each output

Conversation to codeConversation to code