> ## Documentation Index
> Fetch the complete documentation index at: https://docs.labellerr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Text Captioning Using Generative AI

> Learn how to use generative AI in Labellerr for text captioning, enabling you to generate detailed descriptions and keywords for your text annotation projects.

Start by creating a project following the steps outlined in the link provided below.

[How to Create a Text Project?](/getting-started/create-text-project)

### Setting Up Object/Classification template:

<Info>
  You can refer to the link mentioned above for guidance on how to create a template for objects/questions within a project.
</Info>

Select a classification question and specify its type as '**captioning**' from the dropdown menu. Here, I've created a project and labeled a classification question as 'caption' with the question type set to 'captioning'.

<Frame>
  <img src="https://cdn.labellerr.com/1%20%20Documentation/f7171865-6efb-4022-8aca-d56fdda3e321.webp" alt="Text Captioning Classification Setup" />
</Frame>

<Note>
  You have the option to create a new project or modify an existing project template according to your needs. Additionally, multiple questions can be set up to gather various types of details. You can choose to obtain all details at once or gather them one by one by providing different prompts.
</Note>

After setting the template, Go to Dashboard. Click on "**Start Labelling**" button on the dashboard. This will redirect you to the annotation canvas.

<Frame>
  <img src="https://cdn.labellerr.com/1%20%20Documentation/fe81e765-1585-4327-8f11-b6afd170f559.webp" alt="Start Labelling Button" />
</Frame>

### Predict Button:

Below the displayed image, you will see the "**Predict**" button. Click on the "**Predict**" button to open a prompt box where you can input a prompt for the generative AI.

**Example prompt**: "Write a detailed description about this image".

<Frame>
  <img src="https://cdn.labellerr.com/1%20%20Documentation/db8e87d2-bb98-41fa-bfe7-62bc2cd9b2d5.webp" alt="Predict Button and Prompt Box" />
</Frame>

### Generating Descriptions:

Click "**Proceed**" after entering your prompt. The generative AI will then provide a description based on your input.

<Frame>
  <img src="https://cdn.labellerr.com/1%20%20Documentation/b723e5d7-dff1-4ce7-badf-9d9dc3622d7a.webp" alt="Generative AI Description Output" />
</Frame>

You can review and edit this output as needed.

<Tip>
  **Further Prompts:** You can give additional prompts to get more details about the image, such as relevant keywords or a brief description.

  If the API is available, the **meta description** can be displayed in the info icon. Click on the info icon to view the meta description, which includes keywords and descriptions related to the image provided by the API.
</Tip>

Once satisfied with the description, click the "**Submit**" button to submit the file.

The file will be sent to a reviewer, who can also view the image and edit the output if necessary.

Reviewers can access files for review by navigating to the "Review" page from the dashboard.
