Skip to content

Commit 847b70a

Browse files
committed
Windmill AI v1
1 parent 8c882e8 commit 847b70a

File tree

11 files changed

+167
-97
lines changed

11 files changed

+167
-97
lines changed

docs/code_editor/ai_generation.md

Lines changed: 0 additions & 92 deletions
This file was deleted.

docs/code_editor/ai_generation.mdx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
canonical_url: /docs/core_concepts/ai_generation
3+
---
4+
5+
import DocCard from '@site/src/components/DocCard';
6+
7+
# AI Generation
8+
9+
Windmill provides ways to have AI help you in your coding experience.
10+
11+
<video
12+
className="border-2 rounded-xl object-cover w-full h-full dark:border-gray-800"
13+
controls
14+
src="/videos/ai_generation.mp4"
15+
/>
16+
17+
<br/>
18+
19+
All details at:
20+
21+
<div class="grid grid-cols-2 gap-6 mb-4">
22+
<DocCard
23+
title="AI Generation"
24+
description="Have AI complete code on Windmill."
25+
href="/docs/core_concepts/ai_generation"
26+
/>
27+
</div>

docs/code_editor/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Windmill's code editor has the following specific-features:
5959
<DocCard
6060
title="AI Generation"
6161
description="Windmill provides ways to have AI help you in your coding experience."
62-
href="/docs/code_editor/ai_generation"
62+
href="/docs/core_concepts/ai_generation"
6363
/>
6464
</div>
6565

docs/compared_to/prefect.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Windmill provides ways to have AI help you in your coding experience. From promp
250250
<DocCard
251251
title="AI Generation"
252252
description="Have AI complete code on Windmill."
253-
href="/docs/code_editor/ai_generation"
253+
href="/docs/core_concepts/ai_generation"
254254
/>
255255
</div>
256256

docs/core_concepts/22_ai_generation/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,18 @@ Upon error when executing code, you will be offered to "AI Fix" it. The assistan
5656
src="/videos/ai_fix.mp4"
5757
/>
5858

59+
## Flow Generation
60+
61+
Generate flows from prompts.
62+
63+
### Sequence
64+
65+
<video
66+
className="border-2 rounded-xl object-cover w-full h-full dark:border-gray-800"
67+
controls
68+
src="/videos/flow_ai.mp4"
69+
/>
70+
5971
## Code Auto-Completion with Codium
6072

6173
[Codeium](https://codeium.com/) is a code acceleration toolkit built on AI technology. In particular, Codeium has a free [browser extension](https://codeium.com/download) that works as a code completion assistant.

docs/core_concepts/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ On top of its editors to build endpoints, flows and apps, Windmill comes with a
3535
<DocCard
3636
title="AI Generation"
3737
description="Have AI complete code on Windmill."
38-
href="/docs/code_editor/ai_generation"
38+
href="/docs/core_concepts/ai_generation"
3939
/>
4040
<DocCard
4141
title="Roles and Permissions"

docs/integrations/openai.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
:::info AI-based programming
1515

16-
If you're interested in AI-based programming check [AI Generation](../code_editor/ai_generation.md).
16+
If you're interested in AI-based programming check [AI Generation](../code_editor/ai_generation.mdx).
1717

1818
:::
1919

src/landing/Footer.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const navigation = {
3232
}
3333
],
3434
solutions: [
35+
{ name: 'Windmill AI', href: '/solutions/windmill_ai' },
3536
{ name: 'Supabase', href: '/solutions/supabase' },
3637
{ name: 'Hubspot', href: '/solutions/hubspot' },
3738
{ name: 'Airtable', href: '/solutions/airtable' }

src/landing/ScriptSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ const tabs = [
200200
altText: 'Add Resources and Variables to Code'
201201
},
202202
altText: 'AI Generation',
203-
caption: <div>Windmill provides ways to have <a href="/docs/code_editor/ai_generation" target="_blank">Code Generation</a> help you in your coding experience.</div>,
203+
caption: <div>Windmill provides ways to have <a href="/docs/core_concepts/ai_generation" target="_blank">Code Generation</a> help you in your coding experience.</div>,
204204
},
205205
]
206206
},

src/pages/solutions/windmill_ai.tsx

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
import React from 'react';
2+
3+
import {
4+
UploadIcon,
5+
EyeIcon,
6+
LogInIcon,
7+
RefreshCcwIcon,
8+
DeleteIcon,
9+
FolderOutputIcon,
10+
ArrowRight
11+
} from 'lucide-react';
12+
import Solution from '../../components/Solutions';
13+
14+
export default function Content() {
15+
const color = '#6ccc93';
16+
const name = 'Windmill AI';
17+
const website = 'https://supabase.com/';
18+
const windmill_color = '#4E80EE';
19+
20+
const data = {
21+
title: `Build internal tools with ${name}`,
22+
subtitle: `Windmill unlocks your creation of internal tools with ${name}. From scripts, build admin panels, BI dashboards, workflows, and more.`,
23+
description: (
24+
<div className="flex flex-col gap-4">
25+
<p>
26+
<a href={website} target="_blank">
27+
<strong>
28+
<span style={{ color }}>{name}</span>
29+
</strong>
30+
</a>{' '}
31+
is an open source Firebase alternative. It provides a Postgres database, Auth, and
32+
Storage.
33+
</p>
34+
<p>
35+
Connecting Windmill to <span> {name}</span> takes a few seconds and lets you build
36+
internal tools from it and integrate with any other platform.
37+
</p>
38+
<p>
39+
From scripts supported in multiple languages, build UIs and flows that you can monitor and
40+
trigger on demand, by schedule or webhooks.
41+
</p>
42+
<p>Windmill supports PostgreSQL queries directly in the UI.</p>
43+
</div>
44+
),
45+
darkScreenshot: '/integrations/solutions_dark.png',
46+
lightScreenshot: '/integrations/solutions_light.png',
47+
documentationLink: 'https://docs.windmillui.com/',
48+
49+
integrations_sub_title: `Write any script, flow or app targeting ${name} API, or pick them from WindmillHub community library.`,
50+
hubIntegrations: [
51+
{
52+
title: 'Fetch data',
53+
link: 'https://hub.windmill.dev/scripts/supabase/1512/fetch-data-supabase',
54+
description: 'Retrieve data from Supabase and use it in scripts or display it in a table.',
55+
icon: FolderOutputIcon
56+
},
57+
{
58+
title: 'Insert data',
59+
description: 'Add new data to Supabase either manually or from external datasets.',
60+
link: 'https://hub.windmill.dev/scripts/supabase/1513/insert-data-supabase',
61+
icon: UploadIcon
62+
},
63+
{
64+
title: 'Preview event',
65+
link: 'https://hub.windmill.dev/scripts/supabase/1455/preview-supabase-event-supabase',
66+
description: 'Return a Supabase event.',
67+
icon: EyeIcon
68+
},
69+
{
70+
title: 'Authenticate',
71+
link: 'https://hub.windmill.dev/scripts/supabase/1540/authenticate-with-email-and-password-supabase',
72+
description: 'Authentificate to Supabase with e-mail and password.',
73+
icon: LogInIcon
74+
},
75+
{
76+
title: 'Update data',
77+
link: 'https://hub.windmill.dev/scripts/supabase/1514/update-data-supabase',
78+
description: 'Update Supabase data after it was dealt with a script of flow.',
79+
icon: RefreshCcwIcon
80+
},
81+
{
82+
title: 'Delete data',
83+
link: 'https://hub.windmill.dev/scripts/supabase/1515/delete-data-supabase',
84+
description: 'Delete data on Supabase from Windmill.',
85+
icon: DeleteIcon
86+
}
87+
]
88+
};
89+
90+
const extraBlock = (
91+
<>
92+
<p className="text-base font-normal text-gray-500 dark:text-gray-400 mt-12">
93+
<div className="flex flex-col gap-4">
94+
<p>
95+
Windmill also supports{' '}
96+
<a href="/docs/getting_started/scripts_quickstart/sql" target="_blank">
97+
<strong>
98+
<span style={{ color: windmill_color }}>PostgreSQL</span>
99+
</strong>
100+
</a>{' '}
101+
as a language. For
102+
<span> {name}</span>, this means you can connect your database via the Postgres protocol
103+
and execute any SQL query from your internal tools.
104+
</p>
105+
</div>
106+
</p>
107+
<div className="flex items-center gap-2">
108+
<a
109+
type="button"
110+
href="/docs/getting_started/scripts_quickstart/sql"
111+
target="_blank"
112+
className="flex items-center gap-2 rounded-md bg-blue-50 px-4 py-2 text-sm font-semibold text-gray-900 hover:text-gray-900 hover:bg-blue-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 mt-8"
113+
>
114+
Documentation
115+
<ArrowRight className="" aria-hidden="true" />
116+
</a>
117+
</div>
118+
</>
119+
);
120+
121+
return <Solution data={data} name={name} color={color} extraBlock={extraBlock} />;
122+
}

0 commit comments

Comments
 (0)