Set up prompt and response generation
When you set up a prompt and response generation project, you will be prompted to specify how you will use the editor with the following three options:- Humans generate prompts and responses: In the editor, the prompt and response fields will be required. This will indicate to your team they should create a prompt and a response from scratch.
- Humans generate prompts: In the editor, only the prompt field will be required. This will indicate to your team that they should create a prompt from scratch.
- Humans generate responses to uploaded prompts: In the editor, a previously uploaded prompt will appear. Your team will need to create responses for that prompt.
Benchmark and consensus support
Benchmarks and Consensus are only available for the Humans generate responses to uploaded prompts option.Specify prompts and/or responses
When setting up the project,- If you select Humans generate prompts, you will need to specify a prompt for your labelers to reference so they can generate more prompts. Prompts are restricted to free-form text format. You can optionally set a character minimum and maximum for prompt data.
- If you select Humans generate prompts and responses, you will need to specify a prompt and a response for your labelers to reference so they can generate more prompts and responses. See Supported prompt formats and Supported response format for supported format types.
Import prompts
During the project setup, if you select Humans generate responses to uploaded prompts as your LLM data generation workflow, you will need to create an import file containing links to a set of prompts in text format. Then, upload your import file and send the prompts to the project. Follow these steps to upload prompt data to Labelbox:- Create the import file containing links to the prompts. See Import text data to learn how to structure your import file.
- Upload the import file to Labelbox.
- Save the prompts in a batch and send the batch to your project. See Batches for instructions.