From eed76c9caa23e1073cbcb0207b6e72282c0d96bb Mon Sep 17 00:00:00 2001 From: C L W Date: Wed, 15 Jan 2025 14:05:11 -0600 Subject: [PATCH] docs: Example tutorials for Prompts (#6915) Co-authored-by: caitlinwheeless --- docs/source/guide/prompts_examples.md | 203 ++++++++++++++++++ .../images/prompts/example_enhance_prompt.png | Bin 0 -> 51210 bytes .../prompts/example_enhance_prompt2.png | Bin 0 -> 77062 bytes .../prompts/example_insert_comment_text.png | Bin 0 -> 74697 bytes .../images/prompts/example_insert_image.png | Bin 0 -> 52063 bytes .../source/images/prompts/example_subset.png | Bin 0 -> 288574 bytes .../source/images/prompts/example_subset2.png | Bin 0 -> 179521 bytes 7 files changed, 203 insertions(+) create mode 100644 docs/source/guide/prompts_examples.md create mode 100644 docs/themes/v2/source/images/prompts/example_enhance_prompt.png create mode 100644 docs/themes/v2/source/images/prompts/example_enhance_prompt2.png create mode 100644 docs/themes/v2/source/images/prompts/example_insert_comment_text.png create mode 100644 docs/themes/v2/source/images/prompts/example_insert_image.png create mode 100644 docs/themes/v2/source/images/prompts/example_subset.png create mode 100644 docs/themes/v2/source/images/prompts/example_subset2.png diff --git a/docs/source/guide/prompts_examples.md b/docs/source/guide/prompts_examples.md new file mode 100644 index 000000000000..c9d099795370 --- /dev/null +++ b/docs/source/guide/prompts_examples.md @@ -0,0 +1,203 @@ +--- +title: Prompts examples +short: Examples +tier: enterprise +type: guide +order: 0 +order_enterprise: 236 +meta_title: Prompts examples +meta_description: Example use cases for Prompts +section: Prompts +date: 2025-01-15 12:11:22 +--- + + +## Autolabel image captions + +This example demonstrates how to set up Prompts to predict image captions. + +1. [Create a new label studio project](setup_project) by importing image data via [cloud storage](storage). + +!!! note + Prompts does not currently support image data uploaded as raw images. Only image references (HTTP URIs to images) or images imported via cloud storage are supported. + +!!! info Tip + If you’d like to, you can generate a dataset to test the process using [https://data.heartex.net](https://data.heartex.net). + +2. Create a [label config](setup) for image captioning, for example: + +```xml + + +
+