Skip to content

Commit 5d27183

Browse files
committed
fix generate
1 parent 7598552 commit 5d27183

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/tutorials/generate-new-code-using-ai.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ sidebar_position: 50
55

66
# Generate Project Outlines With AI
77

8-
Defang supports generating an outline of a project using an AI agent.
9-
With this feature, you can describe what you would like the service to do and the [CLI](/docs/getting-started#install-the-defang-cli) will then [generate](/docs/concepts/generate) a project outline with all the files required to make it deployable with Defang.
8+
This tutorial will show you how to use Defang's AI agent to [generate](/docs/concepts/generate) a project outline, and then deploy that project to the cloud using Defang.
9+
1010
<iframe width="560" height="315" src="https://www.youtube.com/embed/afglsBYieuc?si=GCvHhBu3H9ktMDHA" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
1111

12-
Let's take a look below on how to use Defang's AI agent to [generate](/docs/concepts/generate) an outline, and then deploy that project to the cloud using Defang.
12+
## Step 1 - Use the `defang generate` command in the CLI
13+
14+
Here you can describe what you would like the service to do and the [CLI](/docs/getting-started#install-the-defang-cli) will then [generate](/docs/concepts/generate) a project outline with all the files required to make it deployable with Defang.
1315

14-
In this tutorial we'll use the following prompt to describe the service:
16+
In this tutorial, we'll use the following prompt to describe our service:
1517

1618
"A basic service with 2 REST endpoints. The default endpoint will be for health check and should return a JSON object like this: `{ "status": "OK" }`. The /echo endpoint will echo back all request parameters in the response."
1719

18-
## Step 1 - Use the `defang generate` command in the CLI
1920
```text
2021
defang generate
2122

0 commit comments

Comments
 (0)