Skip to content

Commit fd123c7

Browse files
Tom GotsmanTom Gotsman
authored andcommitted
image as prompt
1 parent d40f583 commit fd123c7

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

assets/ai_builder/image_upload.gif

6.52 MB
Loading
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Use Images as a prompt
2+
3+
```python exec
4+
import reflex as rx
5+
```
6+
7+
Uploading an image (screenshot) of a website (web) app of what you are looking to build gives the AI really good context.
8+
9+
*This is the recommended way to start an app generation.*
10+
11+
12+
Below is a GIF showing how to upload an image to the AI Builder:
13+
14+
```python eval
15+
rx.image(
16+
src="/ai_builder/image_upload.gif",
17+
height="auto",
18+
padding_bottom="2rem",
19+
)
20+
```

docs/ai_builder/features/image_upload.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

pcweb/components/docpage/sidebar/sidebar_items/ai.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ def get_sidebar_items_ai_builder_overview():
1616
create_item(
1717
"Features",
1818
children=[
19+
ai_builder.features.image_as_prompt,
20+
ai_builder.features.templates,
1921
ai_builder.features.ide,
20-
ai_builder.features.image_upload,
2122
ai_builder.features.environment_variables,
2223
ai_builder.features.installing_external_packages,
23-
ai_builder.features.templates,
2424
ai_builder.features.download_app,
2525
ai_builder.features.deploy_app,
2626
],

0 commit comments

Comments
 (0)