Skip to content

Commit 5c0932e

Browse files
authored
chore: adding initial ai ia (#7774)
1 parent 08cc581 commit 5c0932e

File tree

15 files changed

+554
-0
lines changed

15 files changed

+554
-0
lines changed

src/directory/directory.mjs

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,56 @@ export const directory = {
314314
}
315315
]
316316
},
317+
{
318+
path: 'src/pages/[platform]/build-a-backend/ai/index.mdx',
319+
children: [
320+
{
321+
path: 'src/pages/[platform]/build-a-backend/ai/set-up-ai/index.mdx'
322+
},
323+
{
324+
path: 'src/pages/[platform]/build-a-backend/ai/concepts/index.mdx',
325+
children: [
326+
{
327+
path: 'src/pages/[platform]/build-a-backend/ai/concepts/prompting/index.mdx'
328+
},
329+
{
330+
path: 'src/pages/[platform]/build-a-backend/ai/concepts/routes/index.mdx'
331+
},
332+
{
333+
path: 'src/pages/[platform]/build-a-backend/ai/concepts/tools/index.mdx'
334+
}
335+
]
336+
},
337+
{
338+
path: 'src/pages/[platform]/build-a-backend/ai/connect-your-frontend/index.mdx',
339+
children: [
340+
{
341+
path: 'src/pages/[platform]/build-a-backend/ai/connect-your-frontend/hooks/index.mdx'
342+
},
343+
{
344+
path: 'src/pages/[platform]/build-a-backend/ai/connect-your-frontend/components/index.mdx'
345+
}
346+
]
347+
},
348+
{
349+
path: 'src/pages/[platform]/build-a-backend/ai/conversation/index.mdx',
350+
children: [
351+
{
352+
path: 'src/pages/[platform]/build-a-backend/ai/conversation/RAG/index.mdx'
353+
},
354+
{
355+
path: 'src/pages/[platform]/build-a-backend/ai/conversation/tool-use/index.mdx'
356+
},
357+
{
358+
path: 'src/pages/[platform]/build-a-backend/ai/conversation/UI-responses/index.mdx'
359+
}
360+
]
361+
},
362+
{
363+
path: 'src/pages/[platform]/build-a-backend/ai/generation/index.mdx'
364+
}
365+
]
366+
},
317367
{
318368
path: 'src/pages/[platform]/build-a-backend/storage/index.mdx',
319369
children: [
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import { getCustomStaticPath } from "@/utils/getCustomStaticPath";
2+
3+
export const meta = {
4+
title: "Concepts",
5+
description:
6+
"Learn about what Amplify AI provisions and get an overview about generative AI concepts and terminology.",
7+
platforms: [
8+
"javascript",
9+
"react-native",
10+
"angular",
11+
"nextjs",
12+
"react",
13+
"vue",
14+
],
15+
};
16+
17+
export const getStaticPaths = async () => {
18+
return getCustomStaticPath(meta.platforms);
19+
};
20+
21+
export function getStaticProps(context) {
22+
return {
23+
props: {
24+
platform: context.params.platform,
25+
meta,
26+
},
27+
};
28+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
import { getCustomStaticPath } from "@/utils/getCustomStaticPath";
2+
3+
export const meta = {
4+
title: "Prompting",
5+
description:
6+
"Amplify AI Concepts: Prompting",
7+
platforms: [
8+
"javascript",
9+
"react-native",
10+
"angular",
11+
"nextjs",
12+
"react",
13+
"vue",
14+
],
15+
};
16+
17+
export const getStaticPaths = async () => {
18+
return getCustomStaticPath(meta.platforms);
19+
};
20+
21+
export function getStaticProps(context) {
22+
return {
23+
props: {
24+
platform: context.params.platform,
25+
meta,
26+
},
27+
};
28+
}
29+
30+
31+
<Callout warning>
32+
33+
Amplify AI sections are under construction
34+
35+
</Callout>
36+
37+
38+
## Generation routes
39+
40+
### How to customize generation route prompts
41+
42+
43+
## Conversation routes
44+
45+
### How to customize conversation route prompts
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import { getCustomStaticPath } from "@/utils/getCustomStaticPath";
2+
3+
export const meta = {
4+
title: "Routes",
5+
description:
6+
"Amplify AI Concepts: Routing",
7+
platforms: [
8+
"javascript",
9+
"react-native",
10+
"angular",
11+
"nextjs",
12+
"react",
13+
"vue",
14+
],
15+
};
16+
17+
export const getStaticPaths = async () => {
18+
return getCustomStaticPath(meta.platforms);
19+
};
20+
21+
export function getStaticProps(context) {
22+
return {
23+
props: {
24+
platform: context.params.platform,
25+
meta,
26+
},
27+
};
28+
}
29+
30+
<Callout warning>
31+
32+
Amplify AI sections are under construction
33+
34+
</Callout>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
import { getCustomStaticPath } from "@/utils/getCustomStaticPath";
2+
3+
export const meta = {
4+
title: "Tools",
5+
description:
6+
"Amplify AI Concepts: Tool use",
7+
platforms: [
8+
"javascript",
9+
"react-native",
10+
"angular",
11+
"nextjs",
12+
"react",
13+
"vue",
14+
],
15+
};
16+
17+
export const getStaticPaths = async () => {
18+
return getCustomStaticPath(meta.platforms);
19+
};
20+
21+
export function getStaticProps(context) {
22+
return {
23+
props: {
24+
platform: context.params.platform,
25+
meta,
26+
},
27+
};
28+
}
29+
30+
<Callout warning>
31+
32+
Amplify AI sections are under construction
33+
34+
</Callout>
35+
36+
37+
## Tools as AppSync Queries
38+
39+
40+
## Connecting to AWS services
41+
42+
43+
## Connecting to external services
44+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import { getCustomStaticPath } from "@/utils/getCustomStaticPath";
2+
3+
export const meta = {
4+
title: "Components",
5+
description:
6+
"Amplify AI Frontend: Components",
7+
platforms: [
8+
"javascript",
9+
"react-native",
10+
"angular",
11+
"nextjs",
12+
"react",
13+
"vue",
14+
],
15+
};
16+
17+
export const getStaticPaths = async () => {
18+
return getCustomStaticPath(meta.platforms);
19+
};
20+
21+
export function getStaticProps(context) {
22+
return {
23+
props: {
24+
platform: context.params.platform,
25+
meta,
26+
},
27+
};
28+
}
29+
30+
<Callout warning>
31+
32+
Amplify AI sections are under construction
33+
34+
</Callout>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import { getCustomStaticPath } from "@/utils/getCustomStaticPath";
2+
3+
export const meta = {
4+
title: "Hooks",
5+
description:
6+
"Amplify AI Frontend: Hooks",
7+
platforms: [
8+
"javascript",
9+
"react-native",
10+
"angular",
11+
"nextjs",
12+
"react",
13+
"vue",
14+
],
15+
};
16+
17+
export const getStaticPaths = async () => {
18+
return getCustomStaticPath(meta.platforms);
19+
};
20+
21+
export function getStaticProps(context) {
22+
return {
23+
props: {
24+
platform: context.params.platform,
25+
meta,
26+
},
27+
};
28+
}
29+
30+
<Callout warning>
31+
32+
Amplify AI sections are under construction
33+
34+
</Callout>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import { getCustomStaticPath } from "@/utils/getCustomStaticPath";
2+
3+
export const meta = {
4+
title: "Connect your frontend",
5+
description:
6+
"Learn how to connect your frontend code to the Amplify AI backend.",
7+
platforms: [
8+
"javascript",
9+
"react-native",
10+
"angular",
11+
"nextjs",
12+
"react",
13+
"vue",
14+
],
15+
};
16+
17+
export const getStaticPaths = async () => {
18+
return getCustomStaticPath(meta.platforms);
19+
};
20+
21+
export function getStaticProps(context) {
22+
return {
23+
props: {
24+
platform: context.params.platform,
25+
meta,
26+
},
27+
};
28+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
import { getCustomStaticPath } from "@/utils/getCustomStaticPath";
2+
3+
export const meta = {
4+
title: "Retrieval Augmented Generation",
5+
description:
6+
"Learn how to use Amazon AI",
7+
platforms: [
8+
"javascript",
9+
"react-native",
10+
"angular",
11+
"nextjs",
12+
"react",
13+
"vue",
14+
],
15+
};
16+
17+
export const getStaticPaths = async () => {
18+
return getCustomStaticPath(meta.platforms);
19+
};
20+
21+
export function getStaticProps(context) {
22+
return {
23+
props: {
24+
platform: context.params.platform,
25+
meta,
26+
},
27+
};
28+
}
29+
30+
<Callout warning>
31+
32+
Amplify AI sections are under construction
33+
34+
</Callout>
35+
36+
37+
## Retrieval Augmented Generation
38+
39+
40+
41+
### Passing client-side context
42+
43+
44+
45+
### Data query Tools
46+
47+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import { getCustomStaticPath } from "@/utils/getCustomStaticPath";
2+
3+
export const meta = {
4+
title: "Conversation UI Responses",
5+
description:
6+
"Learn how to use Amazon AI",
7+
platforms: [
8+
"javascript",
9+
"react-native",
10+
"angular",
11+
"nextjs",
12+
"react",
13+
"vue",
14+
],
15+
};
16+
17+
export const getStaticPaths = async () => {
18+
return getCustomStaticPath(meta.platforms);
19+
};
20+
21+
export function getStaticProps(context) {
22+
return {
23+
props: {
24+
platform: context.params.platform,
25+
meta,
26+
},
27+
};
28+
}
29+
30+
<Callout warning>
31+
32+
Amplify AI sections are under construction
33+
34+
</Callout>

0 commit comments

Comments
 (0)