Delv
AI21 Labs
Getting Started Guide

How to Use AI21 Labs

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

Getting started with AI21 Labs

In this guide, you will learn how to set up your account on AI21 Labs and create your first text generation project using their Jamba language models. By the end, you'll be ready to enhance your writing tasks with AI-powered assistance.

Step 1: Sign up and set up

  1. Go to the AI21 Labs website.
  2. Click on the "Sign Up" button located in the top right corner.
  3. Enter your email address and create a password, then click "Create Account."
  4. Verify your email by clicking on the link sent to your inbox.
  5. Log in to your new account. You will have access to the free tier, which is great for developers and allows you to explore the features.

Step 2: Your first text generation

  1. From the dashboard, click on the "Playground" tab in the left sidebar.
  2. In the Playground, you will see a text input area. Type a prompt for the AI, such as "Write a summary of the benefits of AI in business."
  3. Select the "Jamba" model from the dropdown menu above the text input area.
  4. Click the "Generate" button to create your text.
  5. Review the output generated by the AI and make any necessary edits or adjustments.

Step 3: Get better results

  1. Experiment with different prompts to see how the AI responds. Be specific in your requests, such as "Generate a 200-word blog post about sustainable energy."
  2. Use the "Temperature" slider to control the creativity of the output; lower values produce more focused text, while higher values yield more varied responses.
  3. Try the "Max Tokens" setting to limit the length of the generated text, ensuring it fits your needs.

Pro tip

Use the "Save" feature to keep your most effective prompts and outputs. This allows you to quickly access successful text generation strategies for future projects.

Common mistake to avoid

Avoid being too vague in your prompts. Specificity helps the AI understand exactly what you want, leading to better and more relevant outputs. For example, instead of asking for "information on AI," specify "Explain how AI can improve customer service in retail."