Delv
Cosine
Getting Started Guide

How to Use Cosine

A practical guide to get you up and running with Cosine. Written by Delv Editorial, Delv Team.

Getting started with Cosine

In this guide, you will learn how to set up Cosine, create your first coding task, and optimise your results for better performance. You'll be ready to enhance your coding efficiency in just a few minutes.

Step 1: Sign up and set up

  1. Visit the Cosine website.
  2. Click on the "Sign Up" button located at the top right corner of the homepage.
  3. Fill in your details and create an account. You may need to verify your email address.
  4. Once logged in, navigate to your dashboard. Familiarise yourself with the interface, especially the "Projects" and "Tasks" sections.

Step 2: Your first coding task

  1. In your dashboard, click on the "New Project" button.
  2. Enter a name for your project and click "Create".
  3. Within the project, click on "New Task".
  4. Enter a clear description of the coding task you want Cosine to assist with. For example, "Create a function that sorts an array".
  5. Click "Submit" to send the task to the Genie model.
  6. Wait for Cosine to process your request. You will see the generated code appear in the "Results" section.

Step 3: Get better results

  1. Be specific in your task description. The more details you provide, the better the output will be.
  2. Use the "Code Review" feature to get feedback on the generated code. This will help you refine your coding practices.
  3. Experiment with different prompts. If the first result isn't satisfactory, tweak your description and resubmit.
  4. Familiarise yourself with the "Settings" menu to adjust parameters that may affect the output quality.

Pro tip

Use comments in your task description to guide the AI on specific requirements or constraints. For example, "Create a function that sorts an array, ensuring it handles edge cases like empty arrays or null values."

Common mistake to avoid

Avoid vague descriptions in your tasks. Phrases like "Help me with my code" can lead to unhelpful results. Always be precise about what you want Cosine to generate or assist with.