Freddy Copilot for Developers is a Generative AI-powered development experience tool that allows quicker and more intuitive app development. Stretching across the Freshworks app development journey, it integrates seamlessly with Visual Studio code and can suggest code snippets through conversational messages.
What's New in Freddy Copilot - Use Case to Code Integration!
We're excited to introduce the latest enhancement to Freddy Copilot, your trusted companion for simplifying Freshworks app development within Visual Studio Code. In this update, we're thrilled to unveil a groundbreaking feature: "Use Case to Code Integration."
What is Use Case to Code Integration?
Imagine a scenario where you have a concept or a requirement in mind for a Freshworks app, but you're not quite sure how to translate it into code. That's where our Use Case to Code Integration steps in!
Simply describe your use case or requirement in plain language, and Freddy Copilot will intelligently analyze your input and generate the corresponding Freshworks app code for you.
Why Use Case to Code Integration Matters:
Efficiency
Accessibility
Empowerment
Accelerated Innovation
Seamless Integration
Plugin Features overview
It is a powerful VS Code extension designed to help developers streamline their Freshworks application development process. With Freddy Copilot, developers can perform operations such as
Learn app development via Chat-based tutorials
Instant code generation
Perform 1-Click actions such as
1-Click Review
1-Click Documentation
1-Click Publish
Usage guide
Open vs code editor and navigate to Freddy Copilot for Developers extension
Use Pack and Publish to upload app to application management portal (AMP)
You can also use query to code option using the Command Pallete with Cmd + Shift + P and searching for Ask Freddy
Plugin Features in detail
Usecase to App
Open the Chat Interface: Access the chat interface within Freddy Copilot in Visual Studio Code.
Describe Your Use Case: Type or speak your use case or requirement in simple, natural language. For example, "I need an app that automatically assigns tickets based on priority."
Freddy Analyzes and Generates Code: Freddy Copilot uses advanced AI capabilities to analyze your input and understand your intent. It then generates the code needed to implement your request as a Freshworks app, complete with the necessary logic and configurations.
Review and Customize: Once the code is generated, you have the flexibility to review and customize it according to your specific requirements.
Learn app development via Chat-based tutorials
Instant code generation
Perform 1-Click actions
Features
Freddy copilot for developers supports variety of features and here is a quick list of all the supported items
Conversational interface for chat - Text based code generation via chat interface
Refactoring code: It can analyse the code selection and suggest improvements to make it more efficient, readable and maintainable.
Explaining code: It can document the code selection and provide detailed explanations for complex code sections.
Optimising code: It can optimise the code selection for better performance and faster load times. This can include optimizing images, reducing file sizes and implementing caching techniques.
Writing documentation: It can create documentation for the app, including user guides, developer guides and API documentation.
Create App : Create a fdk app using starter template
Run App : Run the app right from your VSCode by right clicking anywhere in the text-editor and selecting "Run App"
Pack and Publish App
Pack the app zip and publish to AMP without leaving your IDE
Requirements
VScode 1.5+
FDK 9.0.2 or higher
Node v18.13.0 or higher
How to get started?
Setup guide
To kick things off, ensure you go through the necessary Prerequisites and get a thorough understanding.
Create a Developer Account. Within the Dev Account, Sign up for a free trial account with a Freshworks product of your choice.
Configure the setting values for "FDK path", "API Key", "User Name" and "Context Settings".
The extension supports following configuration keys
Freddy: Fdk Path - You need to set up the FDK path of your installation directory
Freddy: Freddy Api Key - API key to access Freddy Copilot
Freddy: User Name - User Name displayed on Freddy Copilot
Freddy: Context Settings - Number of previous conversation responses to be remembered and referred to while framing new answer with stored context for respective conversation. This ensures more accuracy in the answer given.
Note:
Enabling this feature will consume more tokens, roughly correlating to the number of messages in a conversation (about 2800 tokens).
By default, the value is set at 5, with the option to raise it to a maximum of 10.
Increasing this value enhances accuracy, but keep in mind that it will significantly raise token consumption per query.
Refer to the detailed instructions available here.
What’s next?
Navigate to the tutorials section to explore more about building applications using Freddy Coplilot with detailed instructions.
When faced with challenges during the process kindly refer to the troubleshooting document to resolve the same.
Refer to the Freddy Copilot FAQs section to resolve commonly asked questions